MicroScopeKanren
A trace visualization of MicroKanren logic programs, in JS.
Install / Use
/learn @asolove/MicroScopeKanrenREADME
Micro Scope Kanren
<img width="687" alt="image" src="https://user-images.githubusercontent.com/8495/210161127-3f4727c8-78f0-4fc8-9b12-fc5f9c915ba8.png">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
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
