Permalink
Commits on Jul 24, 2010
  1. Bump version

    mjackson committed Jul 24, 2010
  2. Introduced compatibility with Ruby 1.9.2 rc2 (Thanks Simon Haydon). In

    mjackson committed Jul 24, 2010
    1.9.2, Array#flatten expects that obj.to_ary raise NoMethodError if not
    defined. Redefinition of Match#method_missing broke this behavior.
    
    Also fixed include paths on tests to compensate for the lack of "." in
    1.9.2's $LOAD_PATH.
  3. Allow character classes to make escaped square brackets, and only att…

    cjheath authored and mjackson committed Jul 2, 2010
    …empt to match at specified offset, not throughout the remainder of the input
  4. Removed method_missing hack because it can be confusing for new users…

    mjackson committed Jul 24, 2010
    …. It's safer anyways to simply prefix rule names with a symbol.
Commits on Jul 15, 2010
  1. Fixed a comment

    mjackson committed Jul 15, 2010
Commits on Jun 22, 2010
  1. Refactored CalcTestMethods to use eval instead of a hard-coded result…

    mjackson committed Jun 22, 2010
    … because the calculator should calculate the same result as Ruby would.
  2. Refactored examples

    mjackson committed Jun 22, 2010
  3. Merged sugar into main file. Changed Rule#ext and Rule#ext= to Rule#e…

    mjackson committed Jun 22, 2010
    …xtension and Rule#extension= for consistency.
  4. Bump version

    mjackson committed Jun 22, 2010
  5. Updated docs

    mjackson committed Jun 22, 2010
  6. Bump version

    mjackson committed Jun 22, 2010
  7. Choices now return the match object from the first sub-rule that matc…

    mjackson committed Jun 22, 2010
    …hes, extended. This has two advantages: 1) Parse trees are a LOT smaller which should lead to much faster parse times and construction and 2) semantic rules are easier (and more natural) to create because they no longer need to use the 'first.value' idiom.
Commits on Jun 10, 2010
  1. Bump version

    mjackson committed Jun 10, 2010
  2. Fixed link in RDoc

    mjackson committed Jun 10, 2010
  3. Added links

    mjackson committed Jun 10, 2010
  4. Updated docs

    mjackson committed Jun 9, 2010
Commits on Jun 9, 2010
  1. Updated docs

    mjackson committed Jun 9, 2010
Commits on Jun 8, 2010
  1. Updating docs

    mjackson committed Jun 8, 2010
  2. Adding documentation

    mjackson committed Jun 8, 2010
Commits on Jun 3, 2010
  1. Bump version

    mjackson committed Jun 3, 2010
  2. Fixed spelling

    mjackson committed Jun 3, 2010
Commits on Jun 2, 2010
  1. Bump version

    mjackson committed Jun 2, 2010
  2. Bump version

    mjackson committed Jun 2, 2010
  3. Updated docs

    mjackson committed Jun 2, 2010
  4. GrammarMethods#parse accepts options hash as second argument. Added t…

    mjackson committed Jun 2, 2010
    …he ability to specify a different root rule on the fly