Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 22, 2012
  1. Bernard Lambeau

    Let Input support multiple sources of parsed text.

    blambeau authored
    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. Bernard Lambeau

    Keep input instead of string in Match.

    blambeau authored
    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
    accordingly.
Commits on Feb 21, 2012
  1. Bernard Lambeau

    Keep a master offset in Match instead of slicing.

    blambeau authored
    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

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

    authored
  2. Updated CHANGES

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

    authored
    Rename README
  2. Mark Wilden

    Rename README in gemspec

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

    authored
  2. Updated copyright/license

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

    authored
    Fix an old examples link in the README
Commits on Jul 22, 2011
  1. Kyle Cesare
Commits on Jul 17, 2011
  1. Kyle Cesare

    Fixed an old link in the README.

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

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

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

    authored
  2. Updated CHANGES

    authored
  3. Added lib/citrus/grammars.rb

    authored
    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 {

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

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

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

    authored
  2. Added email address example

    authored
  3. Updated CHANGES for 2.3.6

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

    authored
  2. joachimm

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

    joachimm authored committed
    …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 authored
    …ted rule references, accessible via command-I
  2. joachimm
  3. joachimm

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

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