Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 483 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 483 Bytes

datalog-ts

A tiny (<100 LOC), toy implementation of Datalog. I can't take much credit - it's mostly a faithful translation of @rntz's Racket implementation. The one elaboration is I add negation; however, I don't enforce stratification, so it's possible to get inconsistent results if you give a bad query.

Examples in the test file.