Clever grammarΒΆ

Clever uses Bison [1] and re2c [2] tools to generate your parser and lexer.

Our grammar is described as follows below:

top_statements:
                statement_list
;

statement_list:
                /* empty */
        |       non_empty_statement_list
;

non_empty_statement_list:
                var_declaration ';'
;

var_declaration:
                VAR IDENT
;
[1]http://www.gnu.org/software/bison/
[2]http://re2c.org/

Previous topic

Internals

Next topic

Clever C++ API

This Page