anchor.diff:      ;
   
   FLOAT
  -    :   Digit+ '.' Digit* ExponentPart?
  -    |   '.' Digit+ ExponentPart?
  -    |   Digit+ ExponentPart
  +    : Digit+ '.' Digit* ExponentPart?
  +    | '.' Digit+ ExponentPart?
  +    | Digit+ ExponentPart
       ;
   
   HEX_FLOAT
  -    :   '0' [xX] HexDigit+ '.' HexDigit* HexExponentPart?
  -    |   '0' [xX] '.' HexDigit+ HexExponentPart?
  -    |   '0' [xX] HexDigit+ HexExponentPart
  +    : '0' [xX] HexDigit+ '.' HexDigit* HexExponentPart?
  +    | '0' [xX] '.' HexDigit+ HexExponentPart?
  +    | '0' [xX] HexDigit+ HexExponentPart
       ;
   
   fragment
   ExponentPart
  -    :   [eE] [+-]? Digit+
  +    : [eE] [+-]? Digit+
       ;
   
   fragment
   HexExponentPart
  -    :   [pP] [+-]? Digit+
  +    : [pP] [+-]? Digit+
       ;
   
   fragment
   EscapeSequence
  -    :   '\\' [abfnrtvz"'\\]
  -    |   DecimalEscape
  -    |   HexEscape
  +    : '\\' [abfnrtvz"'\\]
  +    | DecimalEscape
  +    | HexEscape
       ;
       
   fragment
   DecimalEscape
  -    :   '\\' Digit
  -    |   '\\' Digit Digit
  -    |   '\\' [0-2] Digit Digit
  +    : '\\' Digit
  +    | '\\' Digit Digit
  +    | '\\' [0-2] Digit Digit
       ;
       
   fragment
   HexEscape
  -    :   '\\' 'x' HexDigit HexDigit
  +    : '\\' 'x' HexDigit HexDigit
       ;
   
   fragment
   Digit
  -    :   [0-9]
  +    : [0-9]
       ;
   
   fragment
   HexDigit
  -    :   [0-9a-fA-F]
  +    : [0-9a-fA-F]
       ;
   
   COMMENT
  
positive.code: 
      Lua 5.1 grammar written by Nicolai Mainiero
      http://www.antlr3.org/grammar/1178608849736/Lua.g
   */
  
  grammar Lua;
  
  chunk
      : block
      ;
  
  block
  
negative.code:     ;
  
  NORMALSTRING
      : '"' ( EscapeSequence | ~('\\'|'"') )* '"' 
      ;
  
  CHARSTRING
      : '\'' ( EscapeSequence | ~('\''|'\\') )* '\''
      ;
  
  LONGSTRING
      : '[' NESTED_STR ']'
      ;
  
  fragment
  NESTED_STR
      : '=' NESTED_STR '='
      | '[' .*? ']'
      ;
  
  INT
  