Kevin Newton
ca9a44795b
Remove version templating in YARP
2023-08-25 18:20:51 -04:00
Kevin Newton
76512d78fc
[ruby/yarp] Rename Location#to to Location#join, include checks
...
de8924e3ec
2023-08-25 21:10:17 +00:00
Kevin Newton
20cf9e3ae8
[ruby/yarp] Add a Location#to method for combining them
...
1db2de98ac
2023-08-25 21:10:15 +00:00
Kevin Newton
55a8add304
[ruby/yarp] Fix rational parsing
...
c8f31eb5b6
2023-08-25 21:10:15 +00:00
Benoit Daloze
f603497105
[ruby/yarp] Use templating to avoid duplicating the YARP version in many places
...
9c359fd92e
2023-08-25 19:37:17 +00:00
Kevin Newton
2ebaf077f6
[ruby/yarp] Provide a desugar visitor
...
9fad513089
2023-08-25 19:31:30 +00:00
Kevin Newton
649aba28f4
[ruby/yarp] Add Node#copy and MutationVisitor
...
3693091661
2023-08-25 19:31:28 +00:00
Benoit Daloze
2d75069779
[ruby/yarp] Use require_relative for yarp/ffi
...
c0598f8805
2023-08-22 21:19:09 +00:00
Kevin Newton
0fd57ee01d
[ruby/yarp] Handle interpolated regular expressions with the o flag for locals checking
...
db95191207
2023-08-21 10:43:12 -07:00
Benoit Daloze
2929c47243
[ruby/yarp] Add a convenience value method for numeric literals
...
a328f27d8f
2023-08-21 15:25:28 +00:00
Kevin Newton
995fd11bde
[ruby/yarp] Remove strange :"#arg_rest" local
...
66ecec218d
2023-08-18 00:06:57 +00:00
Takashi Kokubun
3873b1eb39
Resync YARP
2023-08-16 17:47:32 -07:00
Kevin Newton
820a58c228
[ruby/yarp] Hide debug methods
...
aa0dc2f301
2023-08-16 17:47:32 -07:00
Mike Dalessio
0f8091947d
[ruby/yarp] Move the gem's C extension into lib/yarp/
...
and change the require from "yarp.so" to "yarp/yarp", which is more
aligned with existing community conventions for gems.
64b70e2658
2023-08-16 17:47:32 -07:00
Jemma Issroff
6d2174477b
[ruby/yarp] Remove pattern matching pinning to enable support for <= Ruby 3.0
...
Pattern matching variable pinning was introduced in Ruby 3.1. We
need to remove it from YARP to support earlier rubies.
b792c58e3b
2023-07-14 21:00:51 +00:00
Jemma Issroff
31f83a6fea
[ruby/yarp] Add source to ParseResult
...
f3802e03e0
2023-07-07 17:46:46 +00:00
Jemma Issroff
06c2d3e0a0
Resync YARP ( #8036 )
...
It got out of sync again. After this re-sync, it should happen
cherry-picking automatically.
2023-07-06 13:26:26 -04:00
Jemma Issroff
bfb933371d
Manual YARP resync
2023-07-05 16:58:55 -04:00
Jemma Issroff
cc7f765f2c
[Feature #19741 ] Sync all files in yarp
...
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:
* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
2023-06-21 11:25:39 -07:00