[Newcompiler] Re: About getting one parser

Philippe Marschall philippe.marschall at gmail.com
Wed Aug 23 06:48:20 UTC 2006


2006/8/22, stéphane ducasse <ducasse at iam.unibe.ch>:
> Hi marcus and others
>
> we are discussing with mathieu about what to do for the parser.
> And indeed this would be good to have one parser that would work well
> for all the needs
> we have.
>
> So mathieu will talk to you about that. Here are some of our questions.
>         - Does it make sense to have Shout parser a subclass of a common
> super of the new clean parser?
>         - Can shout be using a non dedicated parser (what would be then the
> points to pay attention).
>         -....
>
> Now mathieu is working on in which nodes do we put comments and this
> reminded me that Philippe has the possibility
> to annotate the AST with information. Is it in the AST?
>
> How could we proceed?

If you want to kill one parser. Kill RBScanner, RBParser, RBToken,
.... in short make RB use the SqueakParser/SmaCC parser.

And update RBFormatter so that it handles pragmas.

Philippe


More information about the Newcompiler mailing list