[antlr-interest] Lexer/Parser Reuse?

Matthew Bowman matthew.bowman at sogotech.com
Mon Sep 10 23:36:27 PDT 2007


Greetings everybody,

I found this thread 
(http://www.antlr.org/pipermail/antlr-interest/2005-August/013503.html) 
on the list put it didn't help me :(

I'm trying to figure out how I can setup a "pipeline" of a Lexer --> 
Parser combination for a mini-scripting language I'm using ANTLR for. 
Basically there's an "on-demand" interpreter component that I would like 
to push String expressions into the Lexer and pull my nice AST out of 
the parser (over and over again with out recreating a new Lexer/Parser 
each time).

Could anyone help me out on how I would go about doing such a thing?

Thanks in advance,
--Matthew Bowman


More information about the antlr-interest mailing list