Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# ANTLR grammar?

Tags:

c#

antlr

I'm looking for turn-key ANTLR grammar for C# that generates a usable Abstract Syntax Tree (AST) and is either back-end language agnostic or targets C#, C, C++ or D.

It doesn't need to support error reporting.

P.S. I'm not willing to do hardly any fix-up as the alternative is not very hard.

like image 382
BCS Avatar asked Dec 11 '08 00:12

BCS


1 Answers

You can find C# 6 ANTLR grammar at official grammars repository.

like image 94
Ivan Kochurkin Avatar answered Oct 10 '22 22:10

Ivan Kochurkin