So, this month we begin a two-part exercise to build a domain-specific language (DSL) - in this case, a small calculator language.
因此,在这个月的文章中,我们来分两部分练习构建特定于领域的语言(dsl)—本文以一个小的计算器语言为例。
The idea is basically feasible, using small devices that harvest energy from their surroundings and provide their own power supply rather like a solar calculator.
这个想法基本上是可行的,使用一些能从周围环境获取能量、自给自足的小装置,像太阳能电池板那样。
The sum of money to be paid is entered into a small electronic keypad, looking like a calculator .
顾客所需支付的金额被输入一个状如计算器的袖珍电子键盘。
Bed of very neat, on the side small table top put a similar thing of calculator, return have other life have to of thing.
床上很整洁啊小桌面把相似的事情的计算器啊还有其他有生命的东西。
The user also has the ability to turn a 'hint' feature on so that a small pop-up hint box appears as the mouse cursor is moved over the buttons on the calculator face.
用户也有能力打开,使一个小弹出提示框出现的鼠标光标是在计算器上的按钮移动面对一个'提示'功能。
Imagine the design exercise is to create a small command-line calculator: a user types (or pipes) a mathematical expression in, and the calculator parses it and prints the result.
想像设计工作是创建一个小的命令列计算器:使用者类型(或管道)中,一个数学运算式和计算器进行分析和列印结果。
Calculator hackers are a small band of enthusiasts who revel in making their clunky devices perform sometimes oddball tasks.
计算器黑客是这样一群小众:他们酷爱让手中笨拙的计算器执行那些有时显得稀奇古怪的任务。
Calculator hackers are a small band of enthusiasts who revel in making their clunky devices perform sometimes oddball tasks.
计算器黑客是这样一群小众:他们酷爱让手中笨拙的计算器执行那些有时显得稀奇古怪的任务。
应用推荐