Measures Concepts
GitHub icon

Project Mentat

Project Mentat - Query language

< >

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

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

Project Mentat is a persistent, embedded knowledge base. It draws heavily on DataScript and Datomic. This project was started by Mozilla, but is no longer being developed or actively maintained by them.


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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout