AS3语法:最准确语法、最准确

2023-09-08 13:17:59 作者:雨點淋湿思念

我在寻找一个准确的AS3语法(格式不是一个问题,但我presume AN​​TLR将采用最)用于实践的语法我正在做。

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.

什么是最准确的语法可用于AS3?

What is the most accurate grammar available for AS3?

推荐答案

我觉得这个是pretty的准确,如果你正在寻找一个ANTLR语法:AS3.g

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

本语法一直原本是几年前由Martin钳夹开发,然后扩展到元AS项目。当然还有其他的ActionScript 3解析器可以作为很好,但他们不使用ANTLR或其他编译器编译器。

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 :)