开发者

CIL ANTLR grammar?

Is there any .NET C开发者_运维知识库IL (AKA MSIL) ANTLR grammar?


According this publication, Microsoft provides a MSIL grammar in in the Microsoft Visual Studio installation file asmparse.grammar. If you do not have MSVS, the grammar is also listed in the publication (see page 79).

If I'm not mistaken, that grammar could pretty much just be copied and pasted in a ANTLR grammar file (ie. it's a LL grammar, not an LR one). If you're not familiar with the difference between the two, have a look at this ANTLR article.


From Antlr grammar list - Common Intermediate Language Parser by Pascal Lacroix.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜