A simple c implementation by c++.
It can be interpreter and generate x86 32bit mode asm code also (in code_generator_refactor branch).
It is very simple, just support:
- char, int, pointer type
- function call
- if/else
- while
- // style comment
- printf (interpreter)
[eval expression] (http://test-template0.blogspot.tw/2016/07/smple-c-interpreter-1.html)
[display AST] (http://test-template0.blogspot.tw/2016/07/eval-12345.html)