3 ms·
Janet has ~10 web frameworks (half SSG, half dynamic) and many web servers. Joy [0] is the most fully featured stack approach, which Janetdocs [1] runs on. But
by veqq 1y ago
Janet has ~10 web frameworks (half SSG, half dynamic) and many web servers. Joy [0] is the most fully featured stack approach, which Janetdocs [1] runs on. But everything you mention is in the std lib. Here's a certbot in 10 lines only using the extended std lib (called spork): https://codeberg.org/veqq/janetdocs/src/branch/master/ssl-fetcher.janet https://codeberg.org/veqq/janetdocs/src/branch/master/ssl-fe... `json/decode` automatically maps json to native data structures. There's a package manager included, which builds all code I've found so far, reproducibly.
As for DS, only arrays, there are maps, arrays and strings, all mutable or immutable. I don't think there's any intention to ever implement functional data structures, but they could "easily" be a library.
- [0] https://github.com/joy-framework/joy https://github.com/joy-framework/joy
- [1] http://janetdocs.org/ http://janetdocs.org/
- przmk 1y agoAre any of them maintained? I see that the last commit for Joy was 2 years ago.
- veqq 1y agoMaintenance isn't a breaking issue, at the moment. No one's stepped up to fork them and accept PRs, because they work as is. I'm personally working on this, though and expect a lot of progress in the next months - but this won't impact day to day coding, because they work already.
- veqq 1y agoJust got a PR in Joy today!
- przmk 1y agoGood to know! Sorry, didn't mean to be overly negative with my comment. Maybe our obsession with never-ending projects that need to be constantly updated is wrong.
- zelphirkalt 1y agoI see that there is a package manager "jpm" and I looked at the docs, but I couldn't see anything relating to how to create a lock file or how it makes sure, that every time I install dependencies, I get the exact same versions (not just version numbers).