gml-parser
a parser for Groovy DSL like Marked Language
What is GML
GML stand for 'Grovvy DSL like markup language', it has a form like any other markup language, like XML, but is more general and expressive.
a sample below
// a DSL of HTML, by GML grammarhtml { head { title='a script of GML' } body { div { id="root" }; script { type="text/GML" content = GScript { assign(document[querySelector]('root')[content], 'hello world') } } }}
usage
let p = ;