ACSL grammar built up from official specification, with C grammar behind
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.
antlr4 -Dlanguage=CSharp ACSL.g4
Not all functionality from ACSL grammar is supported. Pull requests are welcome!
Little modification has been applied to ACSL:
Little modification has been applied to C:
Licenses are included in LICENSE file.