Project materials related to logic programming for interactive/reactive systems.
Standard ML Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.


This is the source repository for Ceptre, a tiny logic programming language for prototyping rulesets that you can run, interact with, and analyze.

Binaries for OS X/Win/Linux available here:

Ceptre runs on a Unix-based command line (for now), so you will need to know your way around a shell to use it.

Please see this tutorial to get started!

To compile from source:

  • Get MLton (

  • Clone the repo, and get cmlib into the lib/cmlib directory:

    git submodule update --init --recursive

  • From the top-level directory, run



    ./ceptre path/to/filename.cep,

  • Examples live in examples/ and the relevant ones to Ceptre are those that end in .cep.

    So you might try

    ./ceptre "examples/small.cep"

    Which will run the first #trace command given in that file.