Posted by sanjay_dasgupta
on October 13, 2011 at 7:46 AM PDT
With the release of version 6.01, VisualLangLab can support all -- present & future -- JVM languages.
VisualLangLab's approach of composing parsers at runtime by using combinator functions instead of generating code (as other parser generators do) enables these parsers to be embedded into a host program in any JVM language. Eschewing code generation also eliminates all host-language specificity, so all yet-to-be-invented languages are already supported!
Before 6.01, the parser-generated AST was defined in terms of Scala types, so the API was awkward to use from any other language. Release 6.01 optionally provides ASTs crafted from basic JVM types only, so host programs in any JVM language -- present or future -- will be able to use the API natively.
The VisualLangLab documentation includes example host programs in Scala and Java . A third example featuring Clojure is in the works, and will feature in the documentation soon.