Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 22, 2012
  1. @blambeau

    Let Input support multiple sources of parsed text.

    blambeau committed
    This commit makes the Input class supporting various text sources,
    such as a String, a Path, a File, etc. The real source passed at
    construction is kept under @source for traceability.
    Common rubyisms are used to recognize those sources. In particular,
    Pathname instances will be recognized through respond_to?(:to_path),
    which is standard in ruby 1.9.x. Files and IO are recognized through
    :read. Strings and StringIO through :to_str.
  2. @blambeau

    Keep input instead of string in Match.

    blambeau committed
    For traceability of matches inside the parsed string, we now keep
    the Input instance instead of the source text in matches. This is
    transparent for the Match class, as it simply expects its input to
    behave like a String (to_str). That method has been added to Input
Commits on Feb 21, 2012
  1. @blambeau

    Keep a master offset in Match instead of slicing.

    blambeau committed
    Instead of successively slicing strings in matches, we keep the
    parsed text under @source, and an offset in the later in @offset.
    Btw, that @offset might be very useful for keeping trace of the
    localisation of the match in the source text (e.g. for subsequent
    semantic passes; semantic error detection for instance).
Commits on Dec 29, 2011
  1. Better definition of super keyword

    Fixes #36.
Commits on Nov 4, 2011
  1. Version 2.4.1

  2. Updated CHANGES

Commits on Nov 1, 2011
  1. Merge pull request #35 from mwilden/master

    Rename README
  2. @mwilden

    Rename README in gemspec

    mwilden committed
Commits on Oct 27, 2011
  1. Updated CHANGES

  2. Allow rule names to begin with super*

    Fixes #24
  3. Updated copyright/license

Commits on Aug 29, 2011
  1. Merge pull request #27 from kylc/master

    Fix an old examples link in the README
Commits on Jul 22, 2011
  1. @kylc
Commits on Jul 17, 2011
  1. @kylc

    Fixed an old link in the README.

    kylc committed
Commits on Jul 11, 2011
  1. Fixed bad example

Commits on Jul 5, 2011
Commits on May 26, 2011
  1. Fixed typo

Commits on May 12, 2011
  1. Bumped to version 2.4.0

  2. Updated CHANGES

  3. Added lib/citrus/grammars.rb

    Also, moved all example grammars and tests into the main library tree so
    that they may easily be used by client code.
  4. Don't check for space after {

    Fixes #21
Commits on Mar 18, 2011
  1. Added URI example

Commits on Mar 17, 2011
  1. Added several eql? aliases

Commits on Feb 20, 2011
  1. Bumped version to 2.3.7

  2. Added email address example

  3. Updated CHANGES for 2.3.6

Commits on Feb 19, 2011
  1. Bumped version to 2.3.6

  2. @joachimm

    Remember to update the input position when restoring a memoized rule …

    joachimm committed with
    …from the cache.
    Also update tests to verify this behavior.
Commits on Feb 11, 2011
  1. @joachimm

    Add a command that automatically generates empty rules for unimplemen…

    joachimm committed
    …ted rule references, accessible via command-I
  2. @joachimm
  3. @joachimm

    Switch to using tabs instead of spaces for indent. TextMate will sort…

    joachimm committed
    … this out according to users preferences if tabs are used
Something went wrong with that request. Please try again.