I've made an interpreted language on top of JS, tailored for beginners
阿新 • • 發佈:2018-12-29
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 ).