[Mono-list] Jay download

Christian Müller christian at hbr1.com
Tue Mar 6 02:17:31 UTC 2012

As self study project i was porting PHP to C#. I am using jay from mono
2.8.2 and a modified version of C# Lex from here:


The modified version generates switch statements instead of functions. Both
tools have a close syntax to bison/flex.  You can download the source of the
modified lexer program and the parser/lexer/skeleton files of the self study
project from here:


May it help you somehow.

Regards Christian

-----Ursprüngliche Nachricht----- 
From: Nilo Roberto da Cruz Paim
Sent: Monday, March 05, 2012 11:38 PM
To: Lee Fisher
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] Jay download

Em 05/03/2012 17:51, Lee Fisher escreveu:
> edited excerpt:
>>> Jay, mono/mcs/jay
>>> GPGP, http://gppg.codeplex.com/
>>> cslex, http://www.cybercom.net/~zbrad/DotNet/Lex/Lex.htm
> Besides Jay, GPGP, anc cslex (hi Brad), some others to examine:
> http://gplex.codeplex.com/
> http://himeparser.codeplex.com/
> http://irony.codeplex.com/
> http://sf.net/projects/csflex/
> And there a handful of multi-language tools (ANTLR, Coco, etc.) that have 
> support C#.
> It appears cslex, csflex are both >half a decade old, so older C# versions 
> supported only. Personally, I'd try to use the stuff Mono uses (Jay), or 
> the stuff John Gough maintains(GP*).
Thans for some more links, Lee.

But in fact, I would like to keep my present grammar, that was developed
under flex/bison (lex/yacc). That's the reason for my search for
lex/yacc compatible tools.

Anyway, thanks a lo for your interest.


Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list