I wrote an implementation of the Monkey Language (a toy language designed to teach interpreters) using ReScript. It includes Lexer, Parser and Interpreter.
As my first ReScript project, any feedback is welcome. I’l write a blog post about it in the near future
Did you try using the char datatype for it before? It’s at least very convenient if ASCII is sufficient to your needs, since you can check ranges, e.g.:
I am impressed that you tried to implement it in a whole bunch of languages, I guess you want to compare the strengths and weaknesses of all of them in that blog post.