Description
Language to express rules for Nomic.
Description
A DSL to express rules in a Nomic game. See package Nomyx for a full game implementation.
README.md
Introduction
This library is defining the language that allows you to express rules in Nomic.
Installation
This libary is used by the package Nomyx, it should be installed through it by typing:
cabal install Nomyx
However, to activate online documentation, install with:
cabal install --enable-documentation --haddock-hyperlink-source Nomyx-Language
To install from the git repository:
git clone git://github.com/cdupont/Nomyx-Language.git
cabal install --enable-documentation --haddock-hyperlink-source Nomyx-Language/
Documentation
The library comes with haddock documentation you can build (see above). Check examples/Examples.hs to see a list of example rules. Simply copy-paste those rules (the function name or the code) in the field "code" on Nomyx web gui and see what happens!
Contact
Bug-reports, questions, suggestions and patches are all welcome.