Remix.run Logo
▲ Karrot_Kream 2 hours ago

I keep bouncing the idea around of building a core in C or Rust then writing everything atop it using Janet. I love how readable lisps are (with macros, you can really move up the abstraction ladder quickly) and working on a live image should make iteration a breeze in an LLM.

▲phillc73 an hour ago | parent | next [-]

Interesting take and similar to something I've recently been working on. Have a look at janet-num.[1] Plain numeric C kernels under Janet.

Janet for orchestration, C for the frame loop.

[1] https://github.com/jennystats/janet-num

▲sroerick 2 hours ago | parent | prev | next [-]

I built a OCaml core with a webserver - then made my scripting language on top a custom scheme. I love your idea! I think you would find that a solid interpreted language living in a webserver is an extremely useful think to have. Let me know if you build it!

▲Karrot_Kream an hour ago | parent [-]

What did you write with your webserver? Hosting a personal blog? I'm thinking of a good usecase for this. I'm thinking about a game of some sort but not sure yet.

▲sroerick an hour ago | parent [-]

I've just been dogfooding whatever I can to build it out.

Webpages, zettelkasten, todo, workout, diet tracker. It's a web framework! Creating an endpoint is just like making a function in emacs.

Since lisp is homoiconic the AST is just raw JSON. I save the AST in JSON stores in Postgres. But you can clone the AST down and then eval against a local copy of the REPl. So you get local eval for free.

Of course you have to rebuild git to manage a branching REPL in this way.

▲sroerick an hour ago | parent | prev [-]

https://pricklypear.rocks/

Folks have found it useful to just point gippity at the page and ask questions