Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 2, 2015
  1. @doug-martin


    doug-martin authored
    * 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 Feb 25, 2015
  1. @doug-martin


    doug-martin authored
    * 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](#142) - @raymondfeng
    * Fix for issue, is the dsl you do not have to escape `\` characters #123
Commits on May 18, 2014
  1. @doug-martin


    doug-martin authored
    * 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. @doug-martin

    Merge pull request #107 from epoberezkin/master

    doug-martin authored
    Typos/minor errors in readme
Commits on Dec 17, 2013
  1. @doug-martin


    doug-martin authored
    * 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. @doug-martin


    doug-martin authored
    * 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. @doug-martin


    doug-martin authored
    * Added support for js expression in the `from` node addressing issue [#86](#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](#85)
    * Fixed issue with `from` node where an undefined property would be tested. [#89](#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. @doug-martin


    doug-martin authored
    * 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](#81).
    * Fixed issue [#82](#82).
    * Added new `sudoku` web example.
    * Added [Send More Money]( benchmark see [#78](#78).
Commits on Sep 24, 2013
  1. @doug-martin


    doug-martin authored
    * 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 4, 2013
  1. @doug-martin
  2. @doug-martin


    doug-martin authored
    * Added ability to `import` other nools files to create composible rules files [#58](#58)
    * When using `global` to require other files you can now require other files relative to the nools file
    * Added uglify-js as a dependency instead of devDependency #71
    * Fixed issue #61 where transpile would not properly escape `"` character.
    * Fixed issue #66 and #67 where regular expression matching was too greedy.
    * Fixed issue #62 where constraints with a `"` character would produce invalid javascript when `transpiling`.
    * Fixed issue #69 where rules names with a `'` character in a rule would produce invalid javascript when `transpiling`.
Commits on May 25, 2013
  1. @doug-martin


    doug-martin authored
    * Added new agenda-group (#29)
    * More documentation
      * Salience
      * Agenda Groups
      * Auto-focus
      * Scope
    * Cleaned up agenda and made more modular
Commits on May 23, 2013
  1. @doug-martin


    doug-martin authored
    * Updated grunt
    * Fixed nextTick issues for node v0.10 #32
    * Added ability to remove a defined flow from nools. #31 #22
    * Added ability to use `getDefined` on externally defined fact types. #23
    * Fixed all jshint issues
    * Rebuilt nools.js and nools.min.js
    * Added more tests for new globals feature
Commits on Mar 1, 2013
  1. @doug-martin
Commits on Feb 27, 2013
  1. @doug-martin

    Updated docs and

    doug-martin authored
  2. @doug-martin
Commits on Jan 24, 2013
  1. @doug-martin
Commits on Sep 10, 2012
  1. @doug-martin

    updates for travis CI

    doug-martin authored
Commits on Sep 6, 2012
  1. @doug-martin

    code cleanup

    doug-martin authored
Commits on May 22, 2012
  1. @doug-martin
  2. @doug-martin


    doug-martin authored
Commits on Apr 12, 2012
  1. @doug-martin

    fixed repo locations

    doug-martin authored
Commits on Mar 6, 2012
  1. @doug-martin

    more readme changes

    doug-martin authored
  2. @doug-martin

    Added readme

    doug-martin authored
  3. @doug-martin

    Bug fixes

    doug-martin authored
      * more performance improvments
      * updated dependencies
      * created generated parser file
      * examples
Something went wrong with that request. Please try again.