cKanren
所属分类:编程语言基础
开发工具:Racket
文件大小:0KB
下载次数:0
上传日期:2021-09-17 14:31:35
上 传 者:
sh-1993
说明: 嵌入Racket中的约束编程语言
(Constraint programming language embedded in Racket)
文件列表:
cKanren/ (0, 2014-10-21)
cKanren/absento.rkt (2419, 2014-10-21)
cKanren/attributes.rkt (3962, 2014-10-21)
cKanren/ck.rkt (79, 2014-10-21)
cKanren/copy.rkt (21193, 2014-10-21)
cKanren/eigen.rkt (7317, 2014-10-21)
cKanren/info.rkt (95, 2014-10-21)
cKanren/lang/ (0, 2014-10-21)
cKanren/lang/reader.rkt (83, 2014-10-21)
cKanren/main.rkt (306, 2014-10-21)
cKanren/matche.rkt (3868, 2014-10-21)
cKanren/miniKanren.rkt (12336, 2014-10-21)
cKanren/neq.rkt (2109, 2014-10-21)
cKanren/src/ (0, 2014-10-21)
cKanren/src/base.rkt (1610, 2014-10-21)
cKanren/src/constraint-store.rkt (2041, 2014-10-21)
cKanren/src/constraints.rkt (4866, 2014-10-21)
cKanren/src/debugging.rkt (699, 2014-10-21)
cKanren/src/errors.rkt (923, 2014-10-21)
cKanren/src/events.rkt (10853, 2014-10-21)
cKanren/src/framework.rkt (11390, 2014-10-21)
cKanren/src/helpers.rkt (643, 2014-10-21)
cKanren/src/infs.rkt (2859, 2014-10-21)
cKanren/src/lex.rkt (1512, 2014-10-21)
cKanren/src/macros.rkt (17189, 2014-10-21)
cKanren/src/mk-structs.rkt (2812, 2014-10-21)
cKanren/src/operators.rkt (3817, 2014-10-21)
cKanren/src/package.rkt (774, 2014-10-21)
cKanren/src/queue.rkt (277, 2014-10-21)
cKanren/src/running.rkt (5945, 2014-10-21)
cKanren/src/substitution.rkt (2551, 2014-10-21)
cKanren/src/syntax-classes.rkt (1832, 2014-10-21)
cKanren/src/triggers.rkt (2192, 2014-10-21)
cKanren/src/variables.rkt (1637, 2014-10-21)
cKanren/testall.rkt (1172, 2014-10-21)
cKanren/tester.rkt (3360, 2014-10-21)
cKanren/tests/ (0, 2014-10-21)
cKanren/tests/absento.rkt (13099, 2014-10-21)
... ...
Copyright (C) 2013-4 Claire Alvis
Copyright (C) 2011-2013 Daniel P. Friedman, Oleg Kiselyov,
Claire E. Alvis, Jeremiah J. Willcock, Kyle M. Carter, William E. Byrd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
----------------------------------------------------------------------------
cKanren
=======
This library implements miniKanren (http://minikanren.org) with an
extensible framework for defining constraints.
How to install
--------------
cKanren can be installed as a collection within Racket (http://racket-lang.org)
as follows:
* `git clone git://github.com/calvis/cKanren.git`
* `cd cKanren/cKanren`
* `raco link .`
* `raco setup cKanren`
After setup finishes, you will be able to use miniKanren, `#lang
cKanren`, and all constraint libraries that ship with cKanren.
For users
---------
If you are interested in writing miniKanren programs, you can
`(require cKanren/miniKanren)` for standard miniKanren definitions.
You can also require constraint libraries like `neq` as `(require
cKanren/neq)`.
Stable constraint libraries
---------------------------
The following libraries have been tested extensively.
* Tree unification `cKanren/tree-unify`
* Disequality constraints `cKanren/neq`
* Absento, symbolo, and numbero `cKanren/absento`
All other constraints libraries are experimental.
近期下载者:
相关文件:
收藏者: