[antlr-interest] Re Python Target

Edward Hartley ed.hartley at gmail.com
Mon Jul 16 14:04:48 PDT 2007


Bjaminn
 >The result of raw_input() does not include the '\n'. But in this grammar,
 >every line must be terminated by NEWLINE.
 >Either change the grammar (with raw_input() you are not able to read
 >multiline input anyway) or add a '\n' to the input before you feed it into
 >ANTLR.


 OK thanks; should have  checked what raw_iput() was doing doh!
 Best Ed


More information about the antlr-interest mailing list