3 ms·
I'm in the process of making a user-facing scripting language for my hobby project Rolz.org (https://rolz.org https://rolz.org), that's going to be a very simpl
by Udo 10y ago
I'm in the process of making a user-facing scripting language for my hobby project Rolz.org (https://rolz.org https://rolz.org), that's going to be a very simple affair.
My only attempt at making a "serious" language was np-lang (http://np-lang.org/tutorial http://np-lang.org/tutorial - but it's defunct right now). Initially I made an interpreter in Java, later I made a parser that creates bytecode for a slightly mutated Lua VM. The reason why it's not being maintained right now is that, while basing the runtime on the Lua VM was attractive at first, it was really a dead end for me productivity-wise because I ended up spending more time with the Lua internals than was practical.
The reason why I started the np-lang experiment was that I wanted to experiment with a language that could ultimately become my scripting language of choice for web projects. I was never happy enough with it though.
I'll probably try again to make a language with that goal in mind, when I have some time and motivation to spare.
Apart from that I created several toy programming languages over the years because it's fun and I think it's also practice that can make you a better programmer by gaining a deeper understanding of the design decisions that go into a programming language and its runtime.
I also made some project-specific DSLs, mainly to facilitate configuration and user scripting. And simple, BASIC-like scripting interpreters for toy RPG projects.