nomyx-language: Language to express rules for Nomic

[ bsd3, language, library ] [ Propose Tags ]

A DSL to express rules in a Nomic game. See package Nomyx for a full game implementation.

[Skip to Readme]
Versions [RSS] [faq] 1.0.0
Dependencies base (>=4.6 && <5), Boolean (==0.2.*), containers (==0.5.*), DebugTraceHelpers (==0.12.*), ghc (>=7.6 && <8.1), imprevu (==0.1.*), lens (>=4.7 && <4.15), monad-loops (==0.4.*), mtl (>=2.1 && <2.3), old-locale (==1.0.*), random (==1.1.*), safe (==0.3.*), shortcut (==0.1.*), text, time (>=1.4 && <1.7), time-recurrence (==0.9.*) [details]
License BSD-3-Clause
Copyright 2012 Corentin Dupont
Author Corentin Dupont
Maintainer Corentin Dupont
Category Language
Home page
Source repo head: git clone
Uploaded by CorentinDupont at 2017-03-13T23:20:28Z
Distributions NixOS:1.0.0
Downloads 670 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-03-13 [all 3 reports]


  • Nomyx
    • Nomyx.Language
      • Nomyx.Language.Events
      • Nomyx.Language.Inputs
      • Nomyx.Language.Messages
      • Nomyx.Language.Outputs
      • Nomyx.Language.Players
      • Nomyx.Language.Rules
      • Nomyx.Language.Types
      • Nomyx.Language.Utils
      • Nomyx.Language.Variables
  • Paths_nomyx_language


Maintainer's Corner

For package maintainers and hackage trustees


Readme for nomyx-language-1.0.0

[back to package description]


This library is defining the language that allows you to express rules in Nomic.


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://
cabal install --enable-documentation --haddock-hyperlink-source Nomyx-Language/


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!


Bug-reports, questions, suggestions and patches are all welcome.