++ed by:
Jean-Damien Durand

NAME

c2ast.pl - C source analysis

VERSION

version 0.23

DESCRIPTION

This script will use Marpa::R2 to analyse the file given in argument.

A first phase will always call the preprocessor, so you need to have one on your machine. Default is 'cpp', and be overwriten on the command-line.
Then the output of the preprocessor goes through a lexing phase, using an 2011 ISO ANSI C compliant grammar.
Finally, if you ask via the command-line to have a dump of the parse tree value(s), or to perform some checks on the your code, the parse tree is evaluated.

Say --help on the command-line to have the full list of options, and examples.

AUTHOR

Jean-Damien Durand <jeandamiendurand@free.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Jean-Damien Durand.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.




Hosting generously
sponsored by Bytemark