Changes for version 0.23 - 2007-05-08

  • implemented <?{...}> and <!{...}>
  • token with non-greedy quantifier is transformed into a greedy quantifier with lookahead: a b*? c -> a [ <!before c> b ]* c
  • regex grammar: added <rule: string...> and <rule( params, ... ) syntax
  • new ast node 'call'
  • rules can have positional parameters
  • "Whatever" {*}
  • fixed ratchet quantifier - rollback .pos on fail
  • added an initial double-quoted parser
  • allow aliasing to a literal
  • new syntax 'xxx' instead of <'xxx'>
  • %($/) is read-write

Modules

Compiler for Perl 6 Regex
Compiler for Perl 6 style "Perl5" regex
Compiler for Perl 6 Rules
Compiler for Perl 6 Token
Engine for Perl 6 Rule operator precedence
Match object created by rules
Represent a position inside a string

Provides

in lib/Pugs/Emitter/Rule/Perl5.pm
in lib/Pugs/Emitter/Rule/Perl5/CharClass.pm
in lib/Pugs/Emitter/Rule/Perl5/Ratchet.pm
in lib/Pugs/Grammar/Base.pm
in lib/Pugs/Runtime/Common.pm
in lib/Pugs/Runtime/Match/HsBridge.pm
in lib/Pugs/Emitter/Rule/Perl5.pm
in lib/Pugs/Runtime/Regex.pm
in lib/Pugs/Runtime/Rule.pm