Is there a tool for generating a DSL parser that does not require a runtime for the resultant parser

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-24T15:32:27Z Indexed on 2010/04/24 15:53 UTC
Read the original article Hit count: 394

Filed under:
|
|
|
|

I'm doing a lot of work with a DSLs at the moment and was wondering if anyone knew of a tool that could generate a parser for my bnf specification that does not require a run-time library (pure java source parser)?

I'm committed to using XTEXT for a future Eclipse plug-in but I need a nice small version for my library itself and don't want to add another jar dependency.

It seems that ANTLR requires a run-time to parse files and I performed a Google search with no avail. Can anyone help out?

Thanks,

Chris

© Stack Overflow or respective owner

Related posts about java

Related posts about bnf