c-syntax-validator

Validates C syntax with an antlr parser


License
MIT
Install
pip install c-syntax-validator==0.2.0

Documentation

csyntax-validator

A simple command line tool to validate C syntax.

This is needed because pycparser gives atrocious error messages.

Uses the Antlr4 parser generator and the grammar from the antlr/grammars-v4 repo.

TODO:

  • Port to C++ (see the port/c++ branch)