Yes, unfortunately Bubblescript is not open source… it is the core of our platform. But I’m still convincing my cofounders to release it and as soon as we have a viable way of opensourcing it, we will.
Oh I also, for fun, and to get experience with nimble_parsec, I recently toyed with creating a parser for Emacs lisp, though it is only a parser for now, not an entire language, yet.
last year I started writing a simple Basic Interpreter in Julia. Only by a mistake I lost my folder, because I forgot to save my stuff in time before a system update. It was a fun project in the style of an 80’s line interpreter
Possible were Print, Input, String commands (Left, Right, Mid)
Loop commands 40 For x=1 to 10 … 100 Next x
and Goto of course
Split for parsing was done using a regular expression (space, comma, semicolon, leave all in quotes).
Variables and jumps were stored in maps (key-value)
e.g. x=10 -> Mem[“x”]=10, on a GOTO 50 the string line containing the 50 was stored -> JMP[“50”] = 5