Skip to content

asolove/microScopeKanren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro Scope Kanren

image

The relation between you and your logic program.

A JavaScript implementation of MicroKanren that also traces logic variables and unifications as the program runs.

The goal is to be able to see how your program runs: how do different parts of the program interleave answers?

Background

MicroKanren [1] is a tiny functional core for logic programming.

This repo implements that core in JavaScript, plus traces the program as it runs.

Todo

  • Trace goals
  • Visualize interleaving of traced goals
  • MiniKanren macros
  • Make importable as a library

[1] http://webyrd.net/scheme-2013/papers/HemannMuKanren2013.pdf

About

A trace visualization of MicroKanren logic programs, in JS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published