-
1 bug fix:
-
Removed extra newline when do_parse option is used.
-
-
1 bug fix:
-
Bumped minimum supported version of ruby to 2.7
-
-
2 minor enhancements:
-
Add frozen_string_literal comment to generated lexers.
-
Allow empty regex. (marcandre)
-
-
1 bug fix:
-
Switched from peek(1) == “n” to check(/n/) to save a ton of strings.
-
-
1 bug fix:
-
Added require_ruby_version >= 2.4 to gemspec
-
-
1 minor enhancement:
-
Speedup of column position computation. It went from roughly 10s to 2s for a big file! (vdbijl)
-
-
1 minor enhancement:
-
Added full rdoc an re-bootstrapped.
-
-
1 bug fix:
-
Fixed a deprecation warning in ruby 2.6+.
-
-
5 minor enhancements:
-
Added #location to generated template, provides file:line:column per options.
-
Added LexerError and made ScanError subclass it.
-
Added column option.
-
Errors try to provide location now.
-
Re-bootstrapped.
-
-
2 bug fixes:
-
Fixed some whitespace generation when using :column.
-
Fixed wiring on column. (steakknife)
-
-
1 minor enhancement:
-
Use ‘skip` and `match?` instead of `scan` and `check`. Better on GC. (presidentbeef)
-
-
1 minor enhancement:
-
Added column option & accessor.
-
-
1 bug fix:
-
lineno shouldn’t be visible at all if the option isn’t on.
-
-
1 bug fix:
-
Increase lineno on nil token. (hashmal)
-
-
1 minor enhancement:
-
If there is an encoding comment on the first line, put it above generated headers.
-
-
4 minor enhancements:
-
Added == method to lexer.
-
Added pretty_print methods to lexer+rule+group.
-
Added structural test so I can later make optimization changes cleanly.
-
Refactored to (mostly) use an AST for code generation. Nukes 2 ERB templates.
-
-
1 bug fix:
-
Correct installation instructions in README. (luislavena)
-
-
3 minor enhancements:
-
Added debug rake task.
-
Added rule grouping. Naive benchmarking seems to show ~15% improvement in ruby_parser.
-
Refactored rule handling part of template to its own variable.
-
-
3 minor enhancements:
-
Added lineno and do_parse as options via grammar.
-
All options are now opt-in. You might want to add do_parse and lineno to your grammar.
-
New option lineno will turn on automatic line number handling at the top of next_token.
-
-
1 major enhancement
-
Birthday!
-