nomyx-language: Language to express rules for Nomic

[ bsd3, language, library ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

  • 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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Dependencies base (>=4.6 && <5), Boolean (>=0.2 && <0.3), containers (>=0.5 && <0.6), DebugTraceHelpers (>=0.12 && <0.13), ghc (>=7.6 && <8.1), imprevu (>=0.1 && <0.2), lens (>=4.7 && <4.15), monad-loops (>=0.4 && <0.5), mtl (>=2.1 && <2.3), old-locale (>=1.0 && <1.1), random (>=1.1 && <1.2), safe (>=0.3 && <0.4), shortcut (>=0.1 && <0.2), text, time (>=1.4 && <1.7), time-recurrence (>=0.9 && <0.10) [details]
License BSD-3-Clause
Copyright 2012 Corentin Dupont
Author Corentin Dupont
Maintainer Corentin Dupont
Category Language
Home page http://www.nomyx.net
Source repo head: git clone https://github.com/cdupont/nomyx-language.git
Uploaded by CorentinDupont at 2017-03-13T23:20:28Z
Distributions
Reverse Dependencies 4 direct, 0 indirect [details]
Downloads 847 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-03-13 [all 3 reports]

Readme for nomyx-language-1.0.0

[back to package description]

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.