您要做的第一件事是为计算器语言定义该AST。
The first item on our plate is to define this AST for the calculator language.
这里构建的DSL是一个简单的计算器语言,用于获取并计算数学表达式。
The DSL being built here is a simple calculator language, designed to take mathematical expressions and evaluate them.
因此,在这个月的文章中,我们来分两部分练习构建特定于领域的语言(dsl)—本文以一个小的计算器语言为例。
So, this month we begin a two-part exercise to build a domain-specific language (DSL) - in this case, a small calculator language.
虽然PDP-15支持各种操作系统,但是此机器的有趣用法与公式计算器 (FOCAL)语言一起使用。
Although the PDP-15 supported a variety of operating systems, one interesting use of this machine is with the formula calculator (FOCAL) language.
您可以使用dc(这是一种逆波兰式计算器),或者 bc(这是一种用于数学运算的完整的脚本编程语言)。
You can use dc, a reverse-polish notation calculator, or bc, an entire scripting language for math.
起初,我写了一个功能性编程语言,但在文章中,我使用的是模块化的算术计算器。
Initially, I wrote a functional programming language, but in the article, I am using a modular arithmetic calculator.
起初,我写了一个功能性编程语言,但在文章中,我使用的是模块化的算术计算器。
Initially, I wrote a functional programming language, but in the article, I am using a modular arithmetic calculator.
应用推荐