Skip to end of metadata
Go to start of metadata

Jaskell's ability to customize syntax makes it an ideal DSL (domain specific language) solution for cre.

All of the combinators can be wrapped up as jaskell functions; the monadic "do" function greatly simplifies the syntax in using the bind() combinator; "=>" operator can be overloaded to provide a natural syntax for rule's pre-condition.

The crescript package utilizes both cre and jaskell to provide a complete dsl solution.

Please refer to Docuemntation of Rule Functions for detailed description and sample usage of the domain specific functions.

The RuleFunctions class can be used to add cre support to a Jaskell runtime. A sample cre script can now look like:

Labels: