datalog icon indicating copy to clipboard operation
datalog copied to clipboard

Add typed database relations

Open travitch opened this issue 4 years ago • 0 comments

This branch implements a more strongly-typed data model. Users can specify a custom type system for relations and ensure at compile time that embedded datalog problems respect that type system. This is an improvement over the previous implementation where all ground terms were of a common type a, and could be mixed inappropriately in a column.

At the same time, this commit is also exploring a new representation of tuples that should be significantly more compact and more efficient to maintain.

This is a work in progress and will probably end up touching everything.

travitch avatar Aug 17 '20 06:08 travitch