- Support types are:
- Number (rational numbers)
- Boolean
- None
- Pair
- List
- Support operations:
- add, sub, mul, div
- greater, geq, less, leq
- Support program structure:
- sequencial
- branch
- loop(using branch)
see demo.cpp
Use the following instruction to compile:
g++ ./demo.cpp -std=c++14
-ftemplate-depth=1024 -I. -o demo