-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate YARP (aka Prism) #1213
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
3d38499
Get YARP building and parsing some basic calls
seven1m 8574221
Get examples/fib.rb parsing
seven1m 0e94c34
Get examples/boardslam.rb parsing
seven1m 26dd097
Get the spec runner parsing
seven1m de0278c
Get test/natalie/method_test.rb parsing
seven1m 7ddfbc9
Use simpler code for getting parameters in order
seven1m 2a5ac56
Get test/natalie/assign_test.rb parsing
seven1m 671c9e4
Add some nokogiri dependencies temporarily
seven1m 5a24cf5
Get test/natalie/bootstrap_test.rb parsing
seven1m c77c0ca
Get test/natalie/class_var_test.rb parsing
seven1m a1c634a
Update YARP
seven1m 30156a9
Update translation for new YARP updates
seven1m 7c0aa77
Get test/natalie/complex_test.rb parsing
seven1m 39a5c2e
Revert "Add some nokogiri dependencies temporarily"
seven1m 3c750b8
Store YARP generated sources in our repo
seven1m b8dc641
Fix syntax to work with Ruby 3.0
seven1m 82453a2
Get test/natalie/defined_test.rb parsing
seven1m 2dc94a1
Fix parsing of escape sequences in symbols
seven1m e317ffd
Fix while and until parsing, fixes test/natalie/json_test.rb
seven1m 465540b
Show more helpful message for RaiseErrorExpectation
seven1m 924d778
Fix parsing of for and redo
seven1m 10b3379
Remove kludge for issue #1201
seven1m 0527d4b
Parse rational nodes
seven1m 1c898a4
Fix parsing of super with block
seven1m 95c94af
Parse interpolated symbols
seven1m ef371e6
Fix parsing of class var writes
seven1m 2b82a84
Don't rebuild YARP with rake clean (use clobber)
seven1m 11b26d9
Parse __LINE__
seven1m 0bf27af
Fix missing comma in lib/openssl.rb
seven1m 0bff6b2
Raise a SyntaxError for MissingNode
seven1m fab8d86
Parse undef
seven1m 6de002d
Match interpolated string node parsing with NatalieParser
seven1m 5278d83
Fix yarp building on macos
seven1m 792ddb4
Fix bug with interpolated node extraction
seven1m fc61795
Fix parsing of $' to match NatalieParser
seven1m ffb5f70
Fix parsing of rescue in modifier form
seven1m b250f8e
Update YARP
seven1m 4910d6b
Fix parsing of AliasMethodNode
seven1m 6bbdf23
Fix parsing of module names
seven1m bcf85e9
Fix parsing of escape sequences in interpolated regex
seven1m f66a54d
Fix parsing of regexp flags e, u, s, and n
seven1m 4c40aca
Fix parsing of empty parentheses
seven1m 391fa28
Fix $` parsing
seven1m 90dd862
Fix (kinda) parsing of regexp match write node
seven1m 0653488
Fix parsing of retry
seven1m 5fe457c
Update YARP
seven1m 26f2e6e
Remove hack for Regexp options parsing
seven1m fe5e469
Raise a slightly better syntax error
seven1m 11159b5
Fix parsing of BlockArgumentNode
seven1m cd3714c
Raise SyntaxError for case without when
seven1m 92bfeb3
Remove NatalieParser
seven1m 4e9ccf8
Fix parsing of other line continuation scenarios
seven1m File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[submodule "ext/onigmo"] | ||
path = ext/onigmo | ||
url = https://github.com/k-takata/Onigmo.git | ||
[submodule "ext/natalie_parser"] | ||
path = ext/natalie_parser | ||
url = https://github.com/natalie-lang/natalie_parser | ||
[submodule "ext/tm"] | ||
path = ext/tm | ||
url = https://github.com/seven1m/tm | ||
[submodule "ext/zlib"] | ||
path = ext/zlib | ||
url = https://github.com/madler/zlib | ||
[submodule "ext/yarp"] | ||
path = ext/yarp | ||
url = https://github.com/ruby/yarp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule natalie_parser
deleted from
3ddd39
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI this is called DLEXT in RbConfig terms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!