Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sample Projects

The following projects are real-world examples built entirely with mq, demonstrating its expressive power for complex tasks.

Interpreters

  • lisp.mq — A Lisp interpreter implemented in mq
  • bf.mq — A Brainfuck interpreter implemented in mq

Parsers

  • kdl.mq — A KDL document language parser written in mq
  • json5.mq — A JSON5 parser written in mq
  • regex.mq — A regular expression engine written in mq

Functional Programming

  • monad.mq — Monadic abstractions implemented in mq

Simulations