3 ms·
Only thing it's missing is Fennel, although I suspect it should be trivial to add :)
by rcarmo 4y ago
Only thing it's missing is Fennel, although I suspect it should be trivial to add :)
- capableweb 4y agoThat was my first thought as well. If it can support Fennel as a first-class citizen, then I might just switch wholesale to using Redbean for any application development.
- masukomi 4y agoyup. I was thinking the same thing.
- javajosh 4y agoFor the curious, Fennel[1] is to Lua what Clojure is to Java. I'm curious, though, can you not add Lua libraries to redbean? My understanding is that the file is a zip and you can therefore add dependencies and (presumably) load them into the lua runtime on invocation. E.g. you don't need Justine to add it for you, you can add it yourself. 1 - https://fennel-lang.org/ https://fennel-lang.org/
- rcarmo 4y agoI don’t want it added, I want it as a first-class citizen so I don’t have to write Lua to configure, load fennel and invoke handlers…
- actuallyalys 4y agoI created a template for adding Fennel to Redbean, although I haven't tested it with Redbean 2.0:https://gitlab.com/actuallyalys/redbean-fennel https://gitlab.com/actuallyalys/redbean-fennel.