Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Markus

< >

Markus is a query language created in 2020.

#2695on PLDB 4Years Old
Download source code:
git clone https://github.com/Markus-Studio/Markus
Source Code

A declarative (database) query language!


Example from the web:
type User: user { name: string; } type Task { owner: User; title: string; done: bool; } query myTasks() { is(Task), # %user is the current authenticated user. eq(.owner, %user) } action newTask($title: string) { create Task { user: %user, title: $title, done: false }; } action toggleStatus($task: Task) { validate eq($task.owner, %user); update $task { .done: not(.done) }; } action delete($task: Task) { validate eq($task.owner, %user); delete $task; } action edit($task: Task, $new_title: string) { validate eq($task.owner, %user); update $task { .title: $new_title }; }

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.3.0