Live data from Hacker News

Why Fennel?

fennel-lang.org

101–106 of 106 posts

Re: Why Fennel?

#101

So I don't think I have a strong stance on the merits or drawbacks of whitespace-significant languages versus those that use parentheses (or any other syntax choices). But, I'm curious if there are any compelling arguments that objectively demonstrate why one approach might be superior to the other or if there are at least some persuasive reasons to favor one over the other. Genuinely curious!

Nobody ever heard of python oneliners, for a start.

Not sure if this was just a obvious Cunningham's Law comment but here goes.

Some reasonable ones: https://wiki.python.org/moin/Powerful%20Python%20One-Liners

Some less so: https://hostcloud.blog/is-it-possible-to-write-obfuscated-on...

Re: Why Fennel?

#102
What baffled me when I researched the various Transpiled-to-Lua languages is the fact that most of them insist on dragging their runtimes with them for some strange reason. Why would I want that?

Considering the common role Lua serves, in most cases where I won't be even in a position to install anything besides the single source file I can distribute.

All I want is some quality of life improvements (that includes types). Write in that, then get a single Lua file as output. Nim does that with its JS-backend beautifully.

I forgot if Fennel can do that (seems that's what it means by Ahead-Of-Time compilation), but it's not typed so I passed on it. I might reconsider, as I gave up on the search last time.

Re: Why Fennel?

#103
post #90

Earlier quoted context omitted.

Structural editing, macros, homoiconicity.

Thanks. These are reasons in favor of parens, right?

Yeah, but not necessarily just with parens - there are languages with macros that have a different syntax but with lisp it's the most elegant.

Re: Why Fennel?

#104
post #48

Earlier quoted context omitted.

If you want a sample nvim setup using nfnl you can check this out: https://github.com/rafaeldelboni/cajus-nfnl

This nerdsniped me. I've finally taken plunge and started converting my aniseed config to nfnl. It's pretty painful, not even sure if I will keep the changes, but I want to see.

Look what you've made me do! https://github.com/Grazfather/dotfiles/compare/nfnl

Re: Why Fennel?

#105

Earlier quoted context omitted.

This nerdsniped me. I've finally taken plunge and started converting my aniseed config to nfnl. It's pretty painful, not even sure if I will keep the changes, but I want to see.

Look what you've made me do! https://github.com/Grazfather/dotfiles/compare/nfnl

Cool! I've been using for some weeks and really liking so far :)

Re: Why Fennel?

#106
post #69

I've been wanting to give Fennel a try, currently I use Moonscript for my Lua transpilation ( https://moonscript.org/ ), but it has some criticisms and it can be a bit confusing sometimes.

Are you using Moonscript for nvim config or something else?

I use it to write my awesomewm config
Post reply on HN