The Features of Caper

Generates modern C++ code!

Push-type parser similar to Lemon

Output file is only one .hpp file.

No global variables. No static variables. Clean design.

Strong against exception. You can raise exceptions in SemanticAction.

Performance is so-so (I think so).

No responsibility. No guarantee.

Advantages of Capar

Input File Is Simple

Type Safe

Warning!

This version is still beta. We didn't verify its stability yet. The specification may be changed (especially by demands). Treat as a toy.

The implementation of Stack<T> is very anxious when STL is off (especially T is complicated type). Remove %dont_use_stl; if it didn't work well when you specified it. We want fix by C++ experts.