ClauseBase API

Information for programmers

Custom functions

While ClauseBase provides an array of powerful features to build documents, it can sometimes be useful to resort to a full-fledged programming language. For such situations, ClauseBase allows you to develop functions and conditions in (a subset of) the Clojure programming language, and its clos...

Example custom functions

Making sure percentages add up in a Q&A ClauseBase's standard Q&A conditions functionality let you easily check whether a certain number-answer is in a certain range — e.g., higher than 40 and lower than 100. However, the standard conditions do not allow you to create conditions that com...