Bill.Lin's Notes
  • Me
  • Posts
  • Categories
  • Tags
  • Search
#

Interpreter

標籤 · 1 篇文章

Interpreter — 為語言定義文法與解釋器

Interpreter 模式為簡單語法定義 AST 與解釋邏輯,適合小型 DSL;複雜語法請改用 ANTLR 等解析器工具。

2018-08-07 ·
#DesignPattern #Behavioral #Interpreter
← 回到所有標籤

© 2026 Bill Lin. All rights reserved.

github linkedin email