Remix.run Logo
veqq 6 days 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-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 - [1] http://janetdocs.org/

zelphirkalt 5 days ago | parent | next [-]

I 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).

przmk 6 days ago | parent | prev [-]

Are any of them maintained? I see that the last commit for Joy was 2 years ago.

veqq 5 days ago | parent | next [-]

Maintenance 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 2 days ago | parent | prev [-]

Just got a PR in Joy today!

przmk a day ago | parent [-]

Good 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.