The thing I hate the most about Fennel is when you go back to Clojure and type `print` rather than `println`.
Fennel: A Practical Lisp
61–70 of 91 posts
Re: Fennel: A Practical Lisp
#62Anyone tried Fennel -> Lua -> nelua compiler -> c/native?
Re: Fennel: A Practical Lisp
#63Lisps are great because of their radical simplicity which saves you a ton time learning syntax. You're going to need that time to invest in switching to Emacs.
Not anymore! If you use Neovim, you can use Conjure: https://conjure.fun/
Re: Fennel: A Practical Lisp
#64Earlier quoted context omitted.
Might help encourage you to move away from Windows.
I have plenty of reasons to move away from Windows, and also plenty of reasons to stay. :) But I think it's overall a net-negative that there is no simple way to use LuaRocks on Windows. I don't believe in gatekeeping, especially when so many programmers still begin their journey on Windows.
Re: Fennel: A Practical Lisp
#65Anyone tried Fennel -> Lua -> nelua compiler -> c/native?
Re: Fennel: A Practical Lisp
#66I'm concerned about the bus factor of LuaJIT. If the advanced cyborg known as Mike Pall decides to quit (as has happened once already) then what happens? Vanilla Lua performance isn't *bad* by any means, but hardly remarkable compared to LuaJIT. Fennel looks like a gorgeous lisp. I will probably play with it at some point.
You can continue to use the LuaJIT that has been released? The Lua language has been very stable and has little need to develop for developments sake. There are a few things that might be nice to have, but few of them are worth more platform churn.
It could happen. I’ve been coding more than three decades and I’ve read some real horror stories over the years.
If I were a luajit user, I’d be interested in trying to raise funding to get some more eyes on the source. It’s an engineering marvel, that’s incontestable, but it needs more coverage in case something happens. Even just to make room whenever Mike decides to retire.
I thought cloudflare and Kong would kick back to the community more, but that seems not to be the case.
Re: Fennel: A Practical Lisp
#67What might be a good toy project to try with this? I've had a vague interest in lisp for a while, and fennel seems like a good entry point, I just need some direction on a small project that would be a good fit for the language.
The cookbook[0] has some good examples, I went with the state machine parser as a base for highlighting in mpv's console (mpv scripting has been the main focus of my fennel use, mostly rewriting existing code) [0] https://github.com/bakpakin/Fennel/wiki/Cookbook
Re: Fennel: A Practical Lisp
#68What might be a good toy project to try with this? I've had a vague interest in lisp for a while, and fennel seems like a good entry point, I just need some direction on a small project that would be a good fit for the language.
IRC bot! You just need to pull in a lua sockets library to get going.
Re: Fennel: A Practical Lisp
#69Re: Fennel: A Practical Lisp
#70Earlier quoted context omitted.
Chicken Scheme is embedded in C programs with one line. https://wiki.call-cc.org/embedding I've even embedded it in Objective-C programs running in iOS (could make OpenGLES calls in the repl and everything). Full API spec: https://wiki.call-cc.org/man/5/Embedding FFI example: https://wiki.call-cc.org/An%20extended%20FFI%20example https://www.more-magic.net/posts/scheme-c-integration.html
Thanks for sharing this, I've bookmarked it to check out more later, but from the links you provided, it looks like Chicken Scheme is pretty friendly to use.