Flex and Bison for .Net?
-
GNU tools like Flex (Lex) and Bison (Yacc) produce C code that can be compiled into a application that needs the usage of a lexical analyzer and parser. Are there any such faculties or tools for the .Net framework for doing such tasks? I don't think that making a .net wrapper for the code produced by the GNU tools is an option. The amount of code they produce is huge. Perhaps creating a regular DLL out of the C code and exposing only the functions I need is a possible solution but I would prefer a managed code solution. Any ideas?
-
GNU tools like Flex (Lex) and Bison (Yacc) produce C code that can be compiled into a application that needs the usage of a lexical analyzer and parser. Are there any such faculties or tools for the .Net framework for doing such tasks? I don't think that making a .net wrapper for the code produced by the GNU tools is an option. The amount of code they produce is huge. Perhaps creating a regular DLL out of the C code and exposing only the functions I need is a possible solution but I would prefer a managed code solution. Any ideas?
http://bytes.com/forum/thread248670.html[^]
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
GNU tools like Flex (Lex) and Bison (Yacc) produce C code that can be compiled into a application that needs the usage of a lexical analyzer and parser. Are there any such faculties or tools for the .Net framework for doing such tasks? I don't think that making a .net wrapper for the code produced by the GNU tools is an option. The amount of code they produce is huge. Perhaps creating a regular DLL out of the C code and exposing only the functions I need is a possible solution but I would prefer a managed code solution. Any ideas?