Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typed database relations #13

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

travitch
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant