summaryrefslogtreecommitdiff
path: root/yarp
AgeCommit message (Collapse)Author
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton
2023-09-27[ruby/yarp] Move node ext and parse result to their own filesKevin Newton
https://github.com/ruby/yarp/commit/916828767c
2023-09-27[ruby/yarp] Split up compiler versus visitorKevin Newton
https://github.com/ruby/yarp/commit/2e6baa3f19
2023-09-27Delete mutation visitor manually so sync can runKevin Newton
2023-09-27[ruby/yarp] Move DSL into its own fileKevin Newton
https://github.com/ruby/yarp/commit/3d34404d80
2023-09-27[ruby/yarp] Move dispatcher into its own autoloadKevin Newton
https://github.com/ruby/yarp/commit/52bd001ea2
2023-09-27[YARP] Implement regex flagseileencodes
This fixes the TODO in the code that was passing 0 instead of the regex flags.
2023-09-27[YARP] Implemented BlockArgumentNode (#8499)Jemma Issroff
2023-09-26[ruby/yarp] Check predicate of while and untilHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/f57a6066b5
2023-09-25[ruby/yarp] Fix crashes in parsing block argumentsHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/e1f2fde775
2023-09-22[YARP] Use the integer base flag (#8476)Kevin Newton
Use the integer base flag
2023-09-22[ruby/yarp] Check class name to be a constant path node or a constant read nodeHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/fd7c44f13f
2023-09-22Resync yarp (#8498)Jemma Issroff
* [YARP] Reject numbered parameters in block parameters * [YARP] Do not allow BEGIN except the toplevel --------- Co-authored-by: Haldun Bayhantopcu <[email protected]>
2023-09-22[ruby/yarp] Introduce YP_TOKEN_METHOD_NAMEHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/e855bf415c
2023-09-22[YARP] Remove minor instances of rb_intern (#8497)Jemma Issroff
2023-09-22[ruby/yarp] use `yp_statements_node_body_length` a little bit moreNathan Froyd
https://github.com/ruby/yarp/commit/65d8816178
2023-09-22[ruby/yarp] Fix listener leave event orderKevin Newton
https://github.com/ruby/yarp/commit/1e6e264836
2023-09-22[ruby/yarp] Create arguments when necessaryHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/123332f255
2023-09-21[YARP] Implement ConstantPathTargetNodeMatt Valentine-House
Co-Authored-By: kddnewton <[email protected]>
2023-09-21[ruby/yarp] encourage the compiler to compile `lex_keyword` more efficientlyNathan Froyd
https://github.com/ruby/yarp/commit/f7bb139e2f
2023-09-21[YARP] Add tests for popped instructions (#8494)Jemma Issroff
2023-09-20[ruby/yarp] Check whether the conditional predicate is closedHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/5022b51db2
2023-09-20[YARP] Pop AliasNode when appropriate (#8466)Jemma Issroff
2023-09-20[ruby/yarp] Convert constant pool entries to a string type in Java LoaderBenoit Daloze
* Fixes https://github.com/ruby/yarp/issues/1389 * Fields of type `string` as kept as byte[]. https://github.com/ruby/yarp/commit/234c8f47c7
2023-09-19[YARP] Minor linting [ci skip] (#8480)Jemma Issroff
2023-09-19[YARP] Use the static literal flagKevin Newton
2023-09-19[YARP] Implement GlobalVariableTargetNodeMatt Valentine-House
2023-09-19[ruby/yarp] Only keep semantic fields in Java, i.e. skip location fieldsBenoit Daloze
* Add $YARP_SERIALIZE_ONLY_SEMANTICS_FIELDS to control where to serialize location fields at templating time, this way there is no overhead for either case and nothing to check at runtime. * Add a byte in the header to indicate whether location fields are included as expected. * Fixes https://github.com/ruby/yarp/issues/807 * Simplify the build-java CI job now that the FFI backend is available so JRuby can serialize. * Support keeping some location fields which are still needed until there is a replacement https://github.com/ruby/yarp/commit/fc5cf2df12
2023-09-19[ruby/yarp] fix: handling escaped whitespace in a %w listMike Dalessio
Introduces a new flavor of unescaping, YP_UNESCAPE_WHITESPACE, which is the same as MINIMAL but also unescapes whitespace. Note that a spanning_heredoc.txt fixture test is updated to be less wrong, but YARP's behavior doesn't yet fully match Ruby in this case. Fixes https://github.com/ruby/yarp/pull/1505 https://github.com/ruby/yarp/commit/0af69bdeb1
2023-09-19[ruby/yarp] Explicitly use u32 for constant poolKevin Newton
https://github.com/ruby/yarp/commit/32b173e6c8
2023-09-19[ruby/yarp] Consistently place block arguments on block slot for callKevin Newton
https://github.com/ruby/yarp/commit/fe208302e5
2023-09-19[ruby/yarp] fix computation of memsize for constant id listsNathan Froyd
https://github.com/ruby/yarp/commit/df72517fd1
2023-09-19[ruby/yarp] fix computation of memsize for node listsNathan Froyd
https://github.com/ruby/yarp/commit/02aab8b026
2023-09-19[YARP] Implement ClassVariableTargetNodeMatt Valentine-House
2023-09-19[YARP] Implement InstanceVariableTargetNode, LocalVariableTargetNodeMatt Valentine-House
2023-09-19[YARP] Implement ConstantTargetNodeMatt Valentine-House
2023-09-18[YARP] Miscellaneous bug fixes (#8453)Jemma Issroff
Miscellaneous bug fixes
2023-09-16[ruby/yarp] Fix a possible null pointer deferenceHaldun Bayhantopcu
https://github.com/ruby/yarp/commit/41f601b81b
2023-09-16[ruby/yarp] Bump to version 0.12.0Kevin Newton
https://github.com/ruby/yarp/commit/c71137377f
2023-09-15[ruby/yarp] Handle missing clauses in case statementKevin Newton
https://github.com/ruby/yarp/commit/1ad7fba5ef
2023-09-15[ruby/yarp] Ensure multi targets are only in valid locationsKevin Newton
https://github.com/ruby/yarp/commit/8bffb8a762
2023-09-15[ruby/yarp] require constant pool capacity to be a power of 2Nathan Froyd
https://github.com/ruby/yarp/commit/dea8d3f29f
2023-09-15[ruby/yarp] Alnum cannot be %-literal delimitersKevin Newton
https://github.com/ruby/yarp/commit/4ba6d5ca70
2023-09-15[ruby/yarp] Properly handle invalid underscores in number literalsKevin Newton
https://github.com/ruby/yarp/commit/35da3d1a4c
2023-09-15[ruby/yarp] Add node event dispatcherVinicius Stock
This commit changes the node template to create a dispatcher class, which can be used to walk an AST an emit events to all registered listeners https://github.com/ruby/yarp/commit/03a45f85e6 Co-authored-by: Kevin Newton <[email protected]>
2023-09-15[ruby/yarp] Fix unexpected { after method call with argsJemma Issroff
https://github.com/ruby/yarp/commit/fe279d2d16
2023-09-15[ruby/yarp] Handle unterminated interpolated symbolKevin Newton
https://github.com/ruby/yarp/commit/9222faa1c6
2023-09-15[ruby/yarp] Handle missing terminators in parenthesized expressionKevin Newton
https://github.com/ruby/yarp/commit/a8b54e8ed0
2023-09-15[ruby/yarp] Handle infinite opt terms after missing case predicateKevin Newton
https://github.com/ruby/yarp/commit/d931e258d1
2023-09-15[ruby/yarp] Fix behaviour of locations for commentsAndy Waite
https://github.com/ruby/yarp/commit/b1ced67fba