1.0.0-beta.1 • Published 5 years ago

kanren v1.0.0-beta.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

kanren

Introduction

Kanren is a port of microKanren to TypeScript. I'll defer to miniKanren.org for an explanation of what types of problems the kanren family of languages solve.

The initial goal with this particular port is to provide an API that can easily be extended to include additional term types and constraints.

Development

Editor of Choice

I'd suggest using VSCode to hack on the kanren library. For anybody-or-nobody's benefit, I've saved off my .vscode folder that has configuration I've employed to make development on kanren a little more streamlined.

Running Tests

  • On command line: npm run test
  • To test a single spec file: VSCode->Debug->Jest Current File
  • To tests all spec files: VSCode->Debug->Jest All

Compiling the source

  • On command line: npm run compile