计算机科学 > 程序设计语言
[提交于 2017年1月4日]
标题:A Framework for Extending microKanren with Constraints
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a framework for building CLP languages with symbolic constraints based on microKanren, a domain-specific logic language shallowly embedded in Racket. We rely on Racket's macro system to generate a constraint solver and other components of the microKanren embedding. The framework itself and the constraints' implementations amounts to just over 100 lines of code. Our framework is both a teachable implementation for CLP as well as a test-bed and prototyping tool for symbolic constraint systems.
提交历史
来自:EPTCS[v1] 2017年1月4日 星期三 00:00:00 UTC