- token ✔
- lexer ✔
- parser ✔
- ast ✔
- object ✔
- environment (unifinish stuff)
$ Welcome to the simple Interpreter in C++.
$ Enter expressions or commands.
>> let x = 1 * 2 * 3 * 4 * 5
let x = ((((1 * 2) * 3) * 4) * 5);
>> x * y / 2 + 3 * 8 - 123
((((x * y) / 2) + (3 * 8)) - 123)
>> true == false
(true == false)
>>
- evaluator ? // 需要修改一下node 增加类型识别