计算机科学 > 人工智能
[提交于 2011年8月30日]
标题:Domain-specific Languages in a Finite Domain Constraint Programming System
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this paper, we present domain-specific languages (DSLs) that we devised for their use in the implementation of a finite domain constraint programming system, available as library(clpfd) in SWI-Prolog and YAP-Prolog. These DSLs are used in propagator selection and constraint reification. In these areas, they lead to concise specifications that are easy to read and reason about. At compilation time, these specifications are translated to Prolog code, reducing interpretative run-time overheads. The devised languages can be used in the implementation of other finite domain constraint solvers as well and may contribute to their correctness, conciseness and efficiency.
提交历史
来自:Markus Triska[v1] 2011年8月30日 星期二 16:43:17 UTC