[antlr-interest] Parsing whole-line comments?

Christian Convey christian.convey at gmail.com
Sun Jun 6 12:43:07 PDT 2010

Agreed.  Although my DSL is simple enough that if I'm going to do
that, I may as well just hand-write my parser.  Thanks for the

- C

On Sun, Jun 6, 2010 at 2:36 PM, Scott Stanchfield <scott at javadude.com> wrote:
> A simpler approach might be to read lines (BufferedReader), check the
> first character, and if something that requires a more interesting
> parse, _then_ pass the rest of the line to a parser.
> -- Scott
> ----------------------------------------
> Scott Stanchfield
> http://javadude.com
> 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