Grammar Definitions for C#, F#, VB


#1

Hello,

Where can you find the grammar definitions for each version of C#, F# & VB? More perticularly looking for C# 7 / 7.1

Suminda


#2

Grammars are generally released along with language specifications. And since the situation around specifications for C# and VB is complicated, so is the situation around the grammars:

So, as far as I know, there is currently no grammar for C# 7.0 or 7.1 and you’ll probably have to wait for ECMA (if you want official) or possibly ANTLR (if unofficial is enough) to catch up.

I think the situation for VB is similar.

For F#:


#3

Many thanks for the response. Also if there any new developments and updates please add them.


.NET Foundation Website | Blog | Projects | Code of Conduct