其实,这里的目标是要创建一个小型语言,这个语言能够允许用户来输入相对简单的代数表达式,然后这个代码来为它求值并产生结果。
In essence, the goal here is to create a small language that allows users to type in relatively simple algebraic expressions that this code will evaluate and produce a result.
Lua是一种小型脚本语言。
在编程过程中,许多时候确实需要小型的领域特有语言。
In programming, many times what is really needed is a small domain-specific language. There are many examples of domain-specific languages in use today.
应用推荐