Remix.run Logo
▲ sroerick 2 hours ago

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.