Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Project Mentat

< >

Project Mentat is a query language created in 2016 by Richard Newman.

Source code:
git clone https://github.com/qpdb/mentat
#1306on PLDB 8Years Old

A persistent, relational store inspired by Datomic and DataScript.


Example from the web:
{:db/id :person/email :db/valueType :db.type/string :db/cardinality :db.cardinality/many ; People can have multiple email addresses. :db/unique :db.unique/identity ; For our purposes, each email identifies one person. :db/index true} ; We want fast lookups by email. {:db/id :person/friend :db/valueType :db.type/ref :db/cardinality :db.cardinality/many} ; People can have many friends.

Language features

Feature Supported Token Example
Comments ✓
; A comment
Line Comments ✓ ;
; A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 625 · feedback@pldb.io