bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C# back-end


From: jeremy demeule
Subject: C# back-end
Date: Wed, 18 May 2005 23:43:20 +0200 (CEST)

Hi bison team,

During my week-end, I wrote a back-end of
bison in C# (version 1.0 and 2.0).
I know it isn't the first priorities of
the bison team, but I read the Mono project
write it on their TODO list.

This back-end is based on lalr1.cc and I've
test this back-end with:
        - the infixe calc grammar (with
          and without generating an AST tree)
        - the tiger grammar (this bison parser
          replace my old jay parser on my tiger
          compiler in C#).

During my tests, I don't found any particular
problem and my first feed back is that
location is much more usable than in Jay.

I think, this back-end need more test and they
are lot of things which may be more cleaner
like how I convert macro (YYLOC_DEFAULT for
example) and how I have typed the stacks.

If someone want, I can write a full example to
use this back-end.


Bye.


PS: Sorry for my English.

-- 
Jérémy DEMEULE - EPITA SIGL Promotion 2005
Mail: demeul_j at epita.fr
Tel: +33 (0)6 07 96 46 39
URL: http://www.sigl.epita.net/

Attachment: lalr1.cs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]