Abstract
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.
Cite
CITATION STYLE
Hemann, J., & Friedman, D. P. (2017). A framework for extending microKanren with constraints. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 234, pp. 135–149). Open Publishing Association. https://doi.org/10.4204/EPTCS.234.10
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.