1. 程式人生 > >I've made an interpreted language on top of JS, tailored for beginners

I've made an interpreted language on top of JS, tailored for beginners

I've made a tiny interpreted language on top of JS, together with an debugger, heap vizualizer and editor with common IDE shortcuts ( prettification, go to definition...).

Github:

https://github.com/vasyop/mono

Demo (try step over):

https://vasyop.github.io/mono/

It's basically a simplified C with a single data type: int, and it's made to teach fundamental concepts with people with 0 programming experience: expressions, statements, stack, heap, pointers...etc, without having to install anything or get scared by the complexity of a fully-fledged language / IDE.

Initially I just wanted to learn about how to make a language, but I thought I would make something useful out of it. What are your thoughts?

What I plan to do next :

- release tutorials for people with 0 programming experience

- compile it to instruction set and making a small VM ( instead of walking the AST as I am doing now, which is very slow ).