Looks good, you might compare to this implementation of Monkey with a bunch of extensions (such as "objects", regular expressions, and a standard-library written in the language itself):<p><a href="https://github.com/skx/monkey/" rel="nofollow">https://github.com/skx/monkey/</a><p>A similar idea allows embedded usage of a scripting language, as a filter:<p><a href="https://github.com/skx/evalfilter/" rel="nofollow">https://github.com/skx/evalfilter/</a><p>Of course it gets addictive writing little languages, so you'll probably want to have fun and try making more! I went with BASIC:<p><a href="https://github.com/skx/gobasic" rel="nofollow">https://github.com/skx/gobasic</a><p>But then you start thinking about assembly language:<p><a href="https://github.com/skx/math-compiler" rel="nofollow">https://github.com/skx/math-compiler</a>