arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0903.0889cs.SEcs.PL
收藏

一种用于瓦片装配模型编程的领域专用语言

A Domain-Specific Language for Programming in the Tile Assembly Model

David Doty, Matthew J. Patitz

摘要:

我们介绍了一个特定于域的语言(DSL)创建组的瓷砖类型的模拟抽象瓷砖组装模型。该语言定义了被称为瓦片模板的对象,这些对象表示相关的瓦片组,以及瓦片模板上的少量基本操作,这些操作有助于消除手动枚举此类瓦片类型或使用通用程序设计语言的低级构造的容易出错的苦差事。该语言在Python中实现为类库(所谓的内部DSL),但独立于Python或面向对象编程,重点是支持创建可视化编辑工具,用于以编程方式创建大量复杂的tile类型,而无需编写程序。

英文摘要:

We introduce a domain-specific language (DSL) for creating sets of tile types for simulations of the abstract Tile Assembly Model. The language defines objects known as tile templates, which represent related groups of tiles, and a small number of basic operations on tile templates that help to eliminate the error-prone drudgery of enumerating such tile types manually or with low-level constructs of general-purpose programming languages. The language is implemented as a class library in Python (a so-called internal DSL), but is presented independently of Python or object-oriented programming, with emphasis on supporting the creation of visual editing tools for programmatically creating large sets of complex tile types without needing to write a program.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑