/tao-parser-c

Reference parser for TAO in C

Primary LanguageC++

Reference parser for TAO in C

This is a parser for the TAO syntax grammar implemented in C.

The implementation can be used as a reference for other parsers, in particular in programming languages similar to C.

Interactive version

Interactive version of the parser in JavaScript can be tried at tree-annotation.org.

Usage

Example.c contains a simple C program that demonstrates use of the parser. It can be run like this:

gcc Example.c && ./a.out