[il-antlr-interest: 21180] Re: [antlr-interest] Could the parser and lexer be reused?

2009-01-04 Thread Jim Idle
chain one wrote: There are many pieces of  inputs , all of which should be parsed by one parser. Such as : Input 1:      Jack 100$ Input 2:     Tom   200$ Input .. However, this kind of inputs doesn't come all in one time. They arrive at different time. Once one input ar

[il-antlr-interest: 21179] [antlr-interest] Could the parser and lexer be reused?

2009-01-04 Thread chain one
There are many pieces of inputs , all of which should be parsed by one parser.Such as : Input 1: Jack 100$ Input 2: Tom 200$ Input .. However, this kind of inputs doesn't come all in one time. They arrive at different time. Once one input arrives, it needs to be parsed immediately.

[il-antlr-interest: 21178] Re: [antlr-interest] generated code for tree walker...

2009-01-04 Thread Pady Srinivasan
Anybody have any ideas/thoughts on my posting below ? Thx -- pady - Original Message - From: "Pady Srinivasan" To: Sent: Friday, January 02, 2009 10:33 AM Subject: [antlr-interest] generated code for tree walker... > > If I have a rule as > > rA > : ^(TOK ({$b}=> rB | .) ) > > T

[il-antlr-interest: 21177] Re: [antlr-interest] Compiling source code generated by the C runtime

2009-01-04 Thread Jim Idle
Buğra Gedik wrote: Hi (Jim),   It seems the code generated by the C runtime cannot be compiled with -W -Wall -Werror   Would it be possible to improve the situation by taking care of some of the following type of  warnings in the generated code: - signed compare - unus

[il-antlr-interest: 21176] [antlr-interest] Compiling source code generated by the C runtime

2009-01-04 Thread Buğra Gedik
Hi (Jim), It seems the code generated by the C runtime cannot be compiled with -W -Wall -Werror Would it be possible to improve the situation by taking care of some of the following type of warnings in the generated code: - signed compare - unused function, variable, parameter Thanks, -b -

[il-antlr-interest: 21175] [antlr-interest] Iterative parsing?

2009-01-04 Thread Mike Pagel
Hi, can parsing be done on pieces of input, e.g. line-by-line or to re-parse only changed lines of a code file? If yes, how do I tell ANTLR the "current state", where parsing needs to be picked up? Thanks, Mike --~--~-~--~~~---~--~~ You received this message