Skip to content

RyanGough/reason.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reason.js

A JavaScript microKanren using generators to produce the substitution streams.

Code Example

r = require("./reason.js");
s = require("./subs.js");
x = s.fresh();
goal = r.unify("foo", x);
stream = goal(s.emptySub());
stream.next().value.lookup(x);

Tests

In the tests folder:

./runtests all

License

MIT

About

another attempt at a micro kanren style javascript module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors