support of packrat parser generator [message #21442] |
Fri, 29 August 2008 05:06  |
Eclipse User |
|
|
|
Hello all. To begin, two warnings
1.- My english is not good but i hope it will be good enough
2.- I'm new in this forum, also in eclipse forums. I'll take care but is
possible to make a mistake. Please, be patient and help me to be a better
poster
Now, the question:
I'm using a parser generator called rats. Is a packrat parser based on
peg's
(parsing expression grammars). I'd like to know if it would be possible to
use rats instead ANTLR or LPG with TMF. Note that peg's does not requiere
a separate tokenization
step and cannot express left-recursive rules.
I suppose is posible you will need more information to answer this
question. If this is the case, you'll have the information soon if you ask
me for it
Thanks in advance
|
|
|
Re: support of packrat parser generator [message #21454 is a reply to message #21442] |
Tue, 02 September 2008 03:51  |
Eclipse User |
|
|
|
Originally posted by: sven.efftinge.de
Hi Santiago,
> 1.- My english is not good but i hope it will be good enough
no problem, mine neither :-)
> 2.- I'm new in this forum, also in eclipse forums. I'll take care but is
> possible to make a mistake. Please, be patient and help me to be a
> better poster
Besides these unneccessary excuses everything is perfect ;-)
> I'm using a parser generator called rats. Is a packrat parser based on
> peg's (parsing expression grammars). I'd like to know if it would be
> possible to use rats instead ANTLR or LPG with TMF. Note that peg's does
> not requiere a separate tokenization step and cannot express
> left-recursive rules.
In TMF there are currently two different implementations (Xtext and
TCS), both are based on Antlr 3. With Xtext it is not possible to use
another parser generator and AFAIK it's also not possible to do so with
TCS (Frederic, please correct me if this is not true).
I'ld recommend to have a look at IMP, which is not that powerful but far
more flexible. They support exchange of the parser generator.
regards,
Sven
|
|
|
Powered by
FUDForum. Page generated in 0.06698 seconds