Tag: Interpreter Pattern
All the articles with the tag "Interpreter Pattern".
-
Interpreter Pattern in C#:从表达式到 AST 求值
Published: at 07:24 AM这篇文章用一个小型算术表达式解释器讲清 Interpreter Pattern:定义表达式接口,拆出终结符和非终结符,加入变量上下文,再写 parser 和测试验证优先级与求值结果。
All the articles with the tag "Interpreter Pattern".
这篇文章用一个小型算术表达式解释器讲清 Interpreter Pattern:定义表达式接口,拆出终结符和非终结符,加入变量上下文,再写 parser 和测试验证优先级与求值结果。