[antlr-interest] Postscript parsing

Terence Parr parrt at cs.usfca.edu
Mon Nov 30 21:03:21 PST 2009


Hi. i think it's overkill. A lexer plus a simple interpreter around  
the token stream is good enough.
Ter

On Nov 30, 2009, at 7:34 PM, Andrew Simmons wrote:

> Hi
>
> I was wondering if anyone had any views on the suitability or
> otherwise of ANTLR for parsing Postscript. There was a discussion here
> a few years back about this general area, and there's Mr Parr's lab
> exercise on the site. However,  I'm wondering if it really makes sense
> to use a recursive descent parser to handle a stack-based interpreted
> language, as opposed to hand-crafting the lexer and interpreter. Any
> views gratefully received.
>
> Thanks
> Andrew
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list