项目作者: maximmenshikov

项目描述 :
ACSL grammar built up from official specification, with C grammar behind
高级语言: ANTLR
项目地址: git://github.com/maximmenshikov/acsl-grammar.git
创建时间: 2018-09-20T13:02:42Z
项目社区:https://github.com/maximmenshikov/acsl-grammar

开源协议:Other

下载


acsl-grammar

ACSL grammar built up from official specification, with C grammar behind. For use in static analyzers.

You can compile it to whatever target you want using antlr4 targets. We use it for C++ target.

  1. antlr4 -Dlanguage=CSharp ACSL.g4

Completeness and modifications.

Not all functionality from ACSL grammar is supported. Pull requests are welcome!

Little modification has been applied to ACSL:

  • Support of acsl_comment

Little modification has been applied to C:

  • Don’t process ACSL-style comments as regular comments

License

Licenses are included in LICENSE file.