Hi all,
I want to migrate a software in 64-bit with VS2005. I use a parser
generator like lex/yacc (2.07 Bumble-Bee software
http://www.bumblebeesoftware.com/ ). Unfortunately, this software
isn't available for WinXP x64. So, I have to use an another tools.
I can use flex and byacc with VS2005 but it is painful to use (custom
build rule and no editor).
So I find that VS2005 with SDK 3.0 have a lexer/parser (MPLEX/MPPG). I
try to use it but I can't find any good (complete) documentation.
Visual Studio SDK
How to: Use the Managed Babel System
http://msdn2.microsoft.com/en-us/library/aa406277.aspx
I don't understand how to integrate Babel System in a C# project like
Invariant and UserSupplied stuff.
The example : Example.ManagedMyC doesn't help me so much. I don't see
what should I use and how to creation an application.
So I would appreciate if you can give me more documentation, tutorial
or other toolkit in order to develop code with lexer/parser like
lex/yacc.
Regards,
Eric
Eric - 04 Oct 2006 13:29 GMT
> So I would appreciate if you can give me more documentation, tutorial
> or other toolkit in order to develop code with lexer/parser like
> lex/yacc.
You could look at these LL(1) and LL(k) parser generators that are C#
friendly: Coco/R, Grammatica, ANTLR.
There are some LALR tools (yacc-like) that are C# friendly: Gardens
Point Parser Generator, MinosseCC, Gold, Jay (used by mono, but
probably isn't the best choice for a new project).
The book "Compiling with C# and Java" by Pat Terry is extremely good:
he covers Coco/R and he mostly uses C#. But if you're in the US you
have to order this from Amazon UK. It's well worth it!