News for hackers. Stuff that matters.
Re:Stem, a stack-based language with metaprogramming and a C... by transfire on Saturday January 27, 2024 @12:13AM (#39152799)
A similar language that’s been worked on for a while now is [Min](https://min-lang.org/). Interestingly it is written in Nim.

I was interested in the C interface part but it never got there. :(

Re:Stem, a stack-based language with metaprogramming and a C... by ret2pop on Saturday January 27, 2024 @12:29AM (#39152870)
I've updated the blog to include a short explanation of it.
Re:Stem, a stack-based language with metaprogramming and a C... by ret2pop on Saturday January 27, 2024 @12:16AM (#39152816)
Writing that part right now
Re:Stem, a stack-based language with metaprogramming and a C... by h3rald on Saturday January 27, 2024 @02:44AM (#39153524)
min creator here :)

min does not have a C FLI essentially because it has a "Nim FLI". It is really easy to add new symbols to the language using a Nim API (which is also used internally to define all symbols of the language).

See https://min-lang.org/learn-extending/ for more info. Maybe I should generate some Nim docs for the public API though... but it's really easy to use, and you can check the lib folder of the repo for examples: https://github.com/h3rald/min/tree/master/minpkg/lib