AS3 Grammar: Most accurate

房东的猫 提交于 2020-01-31 05:12:19

问题


I'm looking for an accurate AS3 grammar (format in not an issue, but I presume ANTLR will feature the most) to use for a practice grammar I'm making.

What is the most accurate grammar available for AS3?


回答1:


I think this one is pretty accurate if you are looking for an ANTLR grammar: AS3.g

This grammar has been originally developed a couple of years ago by Martin Schnable and then extended for the Meta-AS project. There are of course other ActionScript 3 parsers available as well, but they do not use ANTLR or another compiler-compiler.

So this is probably your best choice :)



来源:https://stackoverflow.com/questions/1839146/as3-grammar-most-accurate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!