Alex Rivera | Logout

Parser-generator that outputs C# given a BNF grammar?

Asked 2008-09-30T15:32:02.763
10

I'm looking for a tool that will be able to build a parser (in C#) if I give it a BNF grammar (eg. http://savage.net.au/SQL/sql-2003-2.bnf)

Does such a generator exist?

Edit
Report

2 Answers

2

Also take a look at Irony:

http://irony.codeplex.com/

seems very promising

answered 2011-10-18T20:54:46.967
1

IronMeta is a C# implementation of Alex Warth's OMeta; it's a packrat PEG (parsing expression grammar; uses biased choice), so grammars can be cleaner than when using a yacc-like LALR system.

answered 2012-12-04T16:54:51.497

Your Answer