更新时间:2023-02-16 18:06:46
Spirit(V2.x)的当前版本包含一系列从非常简单到完整的mini-c解释器的计算器示例。你应该看看那里,因为这是一个完美的起点,编写自己的表达式解析器。
The current version of Spirit (V2.x) contains a whole series of calculator examples from the very simple to a full fledged mini-c interpreter. You should have a look there as those are a perfect starting point for writing your own expression parser.