Domain-specific Languages and Code Synthesis Using Haskell

Domain-specific Languages and Code Synthesis Using Haskell
复制标题

使用 Haskell 进行特定领域语言和代码合成

DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Andy Gill
Andy Gill
中科院分区:
--
文献类型:
--
作者:
Andy Gill

文献摘要

被引文献

相似文献

向计算机发出指令的方法有很多种:电气工程师可能会编写 MATLAB 程序;数据库管理员可能会编写 SQL 脚本;硬件工程师可能会用 Verilog 编写;会计师可能会编写带有嵌入公式的电子表格。除了每个示例中使用的语言不同之外,形式和习语也存在重要差异。每个人都使用针对手头工作定制的语言,并且每个人都以程序员熟悉且高效的形式构建计算请求(尽管会计师可能不认为自己是程序员)。简而言之,这些示例中的每一个都使用 DSL(特定于域的语言)。
There are many ways to give instructions to a computer: an electrical engineer might write a MATLAB program; a database administrator might write an SQL script; a hardware engineer might write in Verilog; and an accountant might write a spreadsheet with embedded formulas. Aside from the difference in language used in each of these examples, there is an important difference in form and idiom. Each uses a language customized to the job at hand, and each builds computational requests in a form both familiar and productive for programmers (although accountants may not think of themselves as programmers). In short, each of these examples uses a DSL (domain-specific language).