Skip to content
Snippets Groups Projects
  1. May 06, 2011
    • Adam Wardynski's avatar
      Change Position in Match data to be directly an int. · 6264ff5a
      Adam Wardynski authored
      This reflects the fact that positions stored in matches are
      absolute positions, while Position type is used in the
      language as position relative to current position in the
      sentence context. So mixing the two was confusing at the very least.
      This also actually fits the most recent version of spec,
      which no longer mentions Position, either.
      6264ff5a
  2. Apr 19, 2011
    • Adam Wardynski's avatar
      Redesign Match to act more like other Value types. · a3897913
      Adam Wardynski authored
      MatchVector, AnnotationMatch, TokenMatch are now MatchData
      MatchData is value_type of Match which now has get_value/set_value
      Match has also copy construction working properly now
      Default value for Match holds MatchVector so adding $m:_M var in grammar works as intended.
      a3897913
  3. Mar 03, 2011