A programming language that maps nicely to blocks
Moonshine is a functional language, mostly immutable, with any mutable or side-effect parts clearly marked and detectable by code. My current thinking is that is is a combination of a subset of JS2106 plus libraries, but I go back and forth on that. If it varies from a pure subset of JS, then it has to remain very regular and easy/fast to parse and validate.
Some of the building blocks, for now:
- Math (including matrices, vectors): http://mathjs.org/docs/reference/functions.html
- [Music Lib]
- [Physics Lib]
- [Game Lib]
- [Graphics Lib]
Examples