Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Failed to load latest commit information.

PartiQL Language Specification

This is the AsciiDoc source for the PartiQL specification.

How to Build the Spec


The easiest way to build the specification is to use the Dockerfile to build an image that you can use to containerize the build. This can be done as follows assuming you have docker in your path:


The above command will build the specification and is a short-hand for building the image, and running bundle exec rake inside of it. Cleanup and other targets are available:

# the default target builds an optimized PDF/HTML to ./build
./ spec:build

# build, watch the sources, and re-build on changes
./ spec:watch

# clean the build
./ spec:clean

Potential Issues

If you run the instructions for non-Docker building and run into this message or something like it:

rbenv: version `3.1.2' is not installed (set by /workspace/.ruby-version)

The Docker version of the build does not use local environment versions for rbenv because it is not portable and the container controls the "global" Ruby installation so you can work around this by removing the .ruby-version file.


  1. Install rbenv

    brew install rbenv
    rbenv init
  2. Install the latest version of ruby

    rbenv install $(rbenv install -l | grep -v - | tail -1)
  3. Install rbenv shell integration (replace .zshrc with .bash_profile if you use bash)

    echo "\n# rbenv integration" >> ~/.zshrc
    echo "eval \"\$(rbenv init -)\"" >> ~/.zshrc
    source ~/.zshrc
  4. Install Vollkorn & Iosevka fonts (Open Font License)

    mkdir fonts
    curl -L -o fonts/
    unzip fonts/ -d fonts/vollkorn
    curl -L -o fonts/
    unzip fonts/ -d fonts/iosevka
  5. Install fonts and such needed by AsciiMath

    brew tap homebrew/cask-fonts
    brew install glib gdk-pixbuf cairo pango cmake font-computer-modern
    cd ~/Library/Fonts
    curl -LO \
         -LO \
         -LO \
         -LO \
         -LO \
         -LO \
         -LO \


Set the spec to use the latest ruby, and install required gems

cd <spec>
rbenv local $(rbenv install -l | grep -v - | tail -1)
bundle install


Output will be built to - build/PartiQL-Specification.html - build/PartiQL-Specification.pdf

To watch sources for changes and auto-rebuild HTML and quick PDF

bundle exec rake spec:watch

To build HTML and optimized PDF

bundle exec rake


This library is licensed under the PartiQL Specification License.