Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 2, 2015
  1. v0.4.1

    * Fixed issue with `CustomConstraint` not binding `this.assert` to `this`. #146 - @raymondfeng
    * Added more tests for custom constraints
    * Updated readme to include docs about custom constraints.
Commits on Mar 1, 2015
  1. Merge pull request #146 from raymondfeng/master

    Add the missing bind for assert
Commits on Feb 26, 2015
  1. Raymond Feng
Commits on Feb 25, 2015
  1. v0.4.0

    * Fix for issue #122 referencing defined class within another defined class
       * Also fixes accessing scoped functions within a defined class.
    * Fix for issue #119 window was removed from the nools.js file now it is called in the current scope of `this`.
    * Allow session.halt even for `match()` #143 - @raymondfeng
       * Now if you call `halt()` even if you did not call `matchUntilHalt()`
    * Now you can use a function as a constraint (Only applies to rules defined programatically) #142 - @raymondfeng
    * You can now define types using scope [#142](C2FO#142) - @raymondfeng
    * Fix for issue, is the dsl you do not have to escape `\` characters #123
  2. Merge pull request #134 from larryprice/master

    Fix #133 - readme example does not compile
  3. Merge pull request #143 from raymondfeng/feature/enable-session-halt

    Allow session.halt even for `match()`
Commits on Feb 23, 2015
  1. Raymond Feng

    Enable session.halt()

    raymondfeng authored
Commits on Feb 18, 2015
  1. Raymond Feng
Commits on Dec 4, 2014
  1. Larry Price

    fixes #133

    larryprice authored
Commits on May 18, 2014
  1. v0.3.0

    * Added new `===` and `!==` operators #110
    * Fix for issue #109
    * Updated Readme
        * Updated agenda groups examples for #105
        * Changed class names not to match property names in readme #99
  2. Merge pull request #107 from epoberezkin/master

    Typos/minor errors in readme
  3. Merge pull request #98 from kidrane/master

    the DSL example is equivalent to the JavaScript one
Commits on Feb 23, 2014
  1. Evgeny Poberezkin
Commits on Dec 31, 2013
  1. Mars Cheng
  2. Mars Cheng
Commits on Dec 17, 2013
  1. v0.2.3

    * Added new `getFacts` method to allow for querying of facts currently in session. #52;
    * Added indexing on comparison operators (i.e. `>, <, >=, <=`).
    * Updated documentation.
       * Added new section about retrieving facts from a session.
       * Created new section for async actions to address #94
Commits on Nov 20, 2013
  1. v0.2.2

    * Performance Upgrades
      * Added BetaNode indexing
      * Abstracted out JoinNode to extend BetaNode (Prevents the checking of constraints if there are not any constraints to check)
      * Refactored BetaNetwork
      * Created a new Memory Class to encapusulate left and right memory for BetaNodes
    * Added new `exists` logic operator to check for existence of fact (opposite of `not`)
Commits on Nov 8, 2013
  1. v0.2.1

    * Added support for js expression in the `from` node addressing issue [#86](C2FO#86)
    * Enhanced `JoinReferenceNode` performance in the default assert case where there are no `references` to left or right context.
    * Added ability to use `or` and `not` in tandem to check for the non-existence of multiple facts. [#85](C2FO#85)
    * Fixed issue with `from` node where an undefined property would be tested. [#89](C2FO#89)
    * You can now define a custom resolution strategy.
    * Compiling nools files now supports the from modifier.
    * Documentation updates
       * Updates about from node support with js values.
       * New documentation about using `or` and `not` constratints together.
       * Updated `or` documentation to include a three constraint example.
Commits on Oct 14, 2013
  1. v0.2.0

    * Nools now supports true modify!!!
       * This is a major leap forward for `nools` opening the door for more complex actions and expressions in the rules.
    * Added support from for `from` conditions in the `rhs`.
    * Fixed issue [#81](C2FO#81).
    * Fixed issue [#82](C2FO#82).
    * Added new `sudoku` web example.
    * Added [Send More Money]( benchmark see [#78](C2FO#78).
Commits on Oct 11, 2013
  1. From node support

Commits on Oct 2, 2013
  1. v0.1.14

Commits on Sep 24, 2013
  1. v0.1.13

    * Fixed issue #68 where `matchUntilHalt` uses a lot of CPU
    * Fixed issue #45, now compiled rules support `or` constraint with more than 2 inner constraints.
    * Added new feature to address #76, now you can use `deleteFlows` to dispose all flows, or use `hasFlow` to check if a flow is already registred with `nools`.
Commits on Sep 5, 2013
  1. v0.1.12

    * Fixed issue in node v0.6 where path.sep is not found.
Commits on Sep 4, 2013
  1. v0.1.11

    * Fixed issue #73 where requires in dsl would treat a file with a `.` character as a path instead of a module.
  2. Merge pull request #72 from doug-martin/master

    Added option to beautify generated code
Something went wrong with that request. Please try again.