1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
=== 2.6.3 / 2025-12-24
* 1 minor enhancement:
* Bump ruby to 3.2+.
=== 2.6.2 / 2023-08-03
* 1 bug fix:
* Removed extra newline when do_parse option is used.
=== 2.6.1 / 2023-05-31
* 1 bug fix:
* Bumped minimum supported version of ruby to 2.7
=== 2.6.0 / 2021-10-27
* 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.
=== 2.5.3 / 2021-05-29
* 1 bug fix:
* Added require_ruby_version >= 2.4 to gemspec
=== 2.5.2 / 2020-06-14
* 1 minor enhancement:
* Speedup of column position computation. It went from roughly 10s to 2s for a big file! (vdbijl)
=== 2.5.1 / 2019-06-03
* 1 minor enhancement:
* Added full rdoc an re-bootstrapped.
* 1 bug fix:
* Fixed a deprecation warning in ruby 2.6+.
=== 2.5.0 / 2016-11-30
* 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)
=== 2.4.1 / 2016-01-21
* 1 minor enhancement:
* Use `skip` and `match?` instead of `scan` and `check`. Better on GC. (presidentbeef)
=== 2.4.0 / 2014-08-29
* 1 minor enhancement:
* Added column option & accessor.
* 1 bug fix:
* lineno shouldn't be visible at all if the option isn't on.
=== 2.3.2 / 2014-08-06
* 1 bug fix:
* Increase lineno on nil token. (hashmal)
=== 2.3.1 / 2014-06-09
* 1 minor enhancement:
* If there is an encoding comment on the first line, put it above generated headers.
=== 2.3.0 / 2014-05-16
* 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.
=== 2.2.1 / 2014-04-02
* 1 bug fix:
* Correct installation instructions in README. (luislavena)
=== 2.2.0 / 2014-03-14
* 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.
=== 2.1.0 / 2014-01-22
* 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.
=== 2.0.0 / 2013-12-13
* 1 major enhancement
* Birthday!
|