I find myself drawn to the Parsing Expression Grammar formalism for describing domain specific languages, but so far the implementation code I\'ve found has been written in
There's also Kouprey for JavaScript, which is a very easy to use PEG generator/library.