[Mono-dev] new parser for C#

Rafael Teixeira monoman at gmail.com
Mon Oct 9 16:26:33 EDT 2006


As I understand it the goal is for both compilers to move to a
hand-written parser, with possible reuse of big parts.

I, personally, think a single parser and tokenizer for both compilers
is possible, with some conditional logic enabling to have the control
of the syntax scope in use. This would, in truth, allow to have just
one compiler, however, the impact on performance of such runtime
conditionals has to be measured to see if the compromise is
acceptable.

:)

On 10/9/06, Dennis Hayes <denisraytek at yahoo.com> wrote:
>
>
>
> In his blog, Miguel says that the current yacc based parser is planned to be
> replaced with a new hand written parser.
>
> Is that just for gmcs, or will it be used for both gmcs and mcs?
>
> Will this further consolidate the code base for the two compilers?
>
> I driect reply would be apprecated as I am trying to finish my monthly
> column and want to have this in it.
>
> Thanks
>
> Dennis
>
> dennisdotnet at yahoo.com
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw



More information about the Mono-devel-list mailing list