jruby-prism-parser 0.23.0.pre.SNAPSHOT-java → 0.24.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -1
- data/docs/releasing.md +1 -1
- data/ext/prism/api_node.c +2232 -1787
- data/ext/prism/extension.h +1 -1
- data/include/prism/util/pm_newline_list.h +4 -3
- data/include/prism/version.h +2 -2
- data/jruby-prism.jar +0 -0
- data/lib/prism/desugar_compiler.rb +225 -80
- data/lib/prism/dsl.rb +302 -299
- data/lib/prism/ffi.rb +102 -76
- data/lib/prism/node.rb +3624 -2114
- data/lib/prism/parse_result.rb +12 -4
- data/lib/prism/serialize.rb +594 -298
- data/lib/prism/translation/parser/compiler.rb +1 -1
- data/lib/prism/translation/parser/rubocop.rb +11 -3
- data/lib/prism/translation/parser.rb +15 -3
- data/lib/prism/translation/parser33.rb +12 -0
- data/lib/prism/translation/parser34.rb +12 -0
- data/lib/prism/translation/ripper.rb +144 -25
- data/lib/prism/version.rb +1 -1
- data/prism.gemspec +2 -0
- data/src/prettyprint.c +3 -3
- data/src/prism.c +48 -33
- data/src/util/pm_newline_list.c +6 -3
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b82c0b2353ff110c8e7658a168f76c1a5c3b8fee6ee4d0a5bd8fab2d9641aa2
|
4
|
+
data.tar.gz: bbee6337a99636cf0a96bffa752f1534c4f4eb7baf07e349f597817e6a4eaf33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1706d4053f73739e5d6ebd413b94d16065a9b20132a1aeca50104543f05b802f2658111564bde5969621e07453bdb7bc7c9f38de4150df3351905fc23f2ab5a9
|
7
|
+
data.tar.gz: 78d26fb025d9f3480e9daffeea8e26860743db628640bbbc39c8a78bb78394e11cf26357a377a9d2b950f43a1205dfa8d83fe569a2724bb84e24a32a97954b65
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.24.0] - 2024-02-15
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- More support for `Prism::Translation::Ripper` is added.
|
14
|
+
- Support multiple versions for `Prism::Translation::Parser`.
|
15
|
+
- Improved memory usage in the FFI backend.
|
16
|
+
- Very large speed and memory improvements for creating the Ruby AST.
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
- Fix location for empty symbol in hash key.
|
21
|
+
- Fix parsing a rescue modifier on the value of an assignment when the LHS is a method call with arguments and no parentheses.
|
22
|
+
|
9
23
|
## [0.23.0] - 2024-02-14
|
10
24
|
|
11
25
|
### Added
|
@@ -378,7 +392,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
378
392
|
|
379
393
|
- 🎉 Initial release! 🎉
|
380
394
|
|
381
|
-
[unreleased]: https://github.com/ruby/prism/compare/v0.
|
395
|
+
[unreleased]: https://github.com/ruby/prism/compare/v0.24.0...HEAD
|
396
|
+
[0.24.0]: https://github.com/ruby/prism/compare/v0.23.0...v0.24.0
|
382
397
|
[0.23.0]: https://github.com/ruby/prism/compare/v0.22.0...v0.23.0
|
383
398
|
[0.22.0]: https://github.com/ruby/prism/compare/v0.21.0...v0.22.0
|
384
399
|
[0.21.0]: https://github.com/ruby/prism/compare/v0.20.0...v0.21.0
|
data/docs/releasing.md
CHANGED
@@ -34,7 +34,7 @@ ruby -pi -e 'gsub(/MINOR_VERSION = \d+/, %Q{MINOR_VERSION = #{ENV["PRISM_MINOR"]
|
|
34
34
|
ruby -pi -e 'gsub(/PATCH_VERSION = \d+/, %Q{PATCH_VERSION = #{ENV["PRISM_PATCH"]}})' templates/lib/prism/serialize.rb.erb
|
35
35
|
ruby -pi -e 'gsub(/^version = ".+?"/, %Q{version = "#{ENV["PRISM_VERSION"]}"})' rust/ruby-prism-sys/Cargo.toml
|
36
36
|
ruby -pi -e 'gsub(/^version = ".+?"/, %Q{version = "#{ENV["PRISM_VERSION"]}"})' rust/ruby-prism/Cargo.toml
|
37
|
-
ruby -pi -e 'gsub(/^ruby-prism-sys = { version = ".+?"/, %Q{ruby-prism-sys = { version = "#{ENV["PRISM_VERSION"]}"})' rust/ruby-prism/Cargo.toml
|
37
|
+
ruby -pi -e 'gsub(/^ruby-prism-sys = \{ version = ".+?"/, %Q{ruby-prism-sys = \{ version = "#{ENV["PRISM_VERSION"]}"})' rust/ruby-prism/Cargo.toml
|
38
38
|
```
|
39
39
|
|
40
40
|
* Update the `Gemfile.lock` file:
|