Kevin Newton
90b21b864d
[prism] Updates for sync
2023-11-01 13:10:29 -04:00
Kevin Newton
493439c9ce
[ruby/prism] Documentation for pm_strncasecmp
...
26934263b7
2023-11-01 13:10:29 -04:00
Kevin Newton
4490979615
[ruby/prism] Finish Ruby documentation
...
dfdcc98a3c
2023-11-01 13:10:29 -04:00
Kevin Newton
79034fbd50
[ruby/prism] More Ruby docs
...
ca9a660f52
2023-11-01 13:10:29 -04:00
Kevin Newton
953138698e
[ruby/prism] Docs for node.rb and parse_result.rb
...
085da4feb9
2023-11-01 13:10:29 -04:00
Kevin Newton
f12617ec98
[ruby/prism] Fix up Prism and Debug docs
...
c2b7724d91
2023-11-01 13:10:29 -04:00
Jemma Issroff
e80ca70b9b
[ruby/prism] Flip incorrect names of OptionalKeywordParameterNode and RequiredKeywordParameterNode
...
c31f61e898
2023-11-01 14:40:45 +00:00
Jemma Issroff
d0625099e0
[ruby/prism] Split KeywordParameterNode into Optional and Required
...
Prior to this commit, KeywordParameterNode included both optional
and required keywords. With this commit, it is split in two, with
`OptionalKeywordParameterNode`s no longer having a value field.
89084d9af4
2023-11-01 14:40:44 +00:00
Kevin Newton
b413760d66
[prism] Update prism to latest
2023-10-30 12:35:39 -04:00
Kevin Newton
7bf3d9343f
[ruby/prism] parse_inline_comments -> parse_comments
...
bd4d248fd6
2023-10-30 15:53:37 +00:00
Kevin Newton
c201dbc0ad
[ruby/prism] Prism.parse_inline_comments
...
5b72f84480
2023-10-27 18:09:14 +00:00
Vinicius Stock
7e4d2bb81d
[ruby/prism] Move static annotations into _static files
...
9a6d735890
2023-10-27 13:45:53 +00:00
Vinicius Stock
544f64075b
[ruby/prism] Add RBI and RBS templates for Prism
...
b62305ff3e
Co-authored-by: Stan Lo <st0012@users.noreply.github.com>
2023-10-27 13:45:52 +00:00
Kevin Newton
a40e2b8ee9
[ruby/prism] Fix parsing lone assoc splat within hash patterns
...
1da5e05672
2023-10-27 02:09:33 +00:00
Kevin Newton
21dc64534b
[ruby/prism] Regenerate snapshots
...
160df9a687
2023-10-26 15:19:52 -04:00
Kevin Newton
d1bb858d47
[ruby/prism] Match existing Ruby prettyprint
...
6d8358c083
2023-10-26 15:19:43 -04:00
Kevin Newton
6241cfab74
[prism] handle locals consistently
2023-10-26 15:08:31 -04:00
Kevin Newton
018f0a9c5f
[ruby/prism] Rename to lefts/rights
...
e6deed05a5
2023-10-26 14:59:13 -04:00
Kevin Newton
922f48f081
[ruby/prism] Remove RequiredDestructuredParameterNode in favor of MultiTargetNode
...
6d1858192e
2023-10-26 14:59:07 -04:00
Jemma Issroff
7e4ee92de2
[ruby/prism] Add KeywordSplat flag to ArgumentsNode
...
Method calls with keyword splat args compile differently than
without since they merge the keyword arg hash with the keyword splat
hash. We know this information at parse time, so can set a flag
which the compiler can use.
e5f8a9a3cd
2023-10-26 18:47:50 +00:00
Kevin Newton
51ea82a770
[ruby/prism] Expose options on match last line nodes
...
0284b38861
2023-10-26 13:58:40 +00:00
Kevin Newton
feb1427ad8
[ruby/prism] Compile with WASI
...
73c44b0b9c
2023-10-26 13:33:22 +00:00
Mau Magnaguagno
f20e91fbf7
[ruby/prism] Avoid String#chars in DedentingHeredoc#to_a
...
Prefer String#[] directly.
916f991220
2023-10-23 14:56:18 +00:00
Matt Valentine-House
62e340251b
Don't add anonymous locals when ISEQ binary debug is on
2023-10-19 16:57:43 +01:00
Kevin Newton
6873f96abc
[ruby/prism] Bump to version 0.15.1
...
d906a8ceba
2023-10-18 19:19:38 +00:00
Kevin Newton
0f1e040068
[ruby/prism] Bump to version 0.15.0
...
ee429f8d50
2023-10-18 16:49:58 +00:00
Kevin Newton
8210cc4218
[ruby/prism] Fix lex compat when dedent should be 0
...
41c0e0e06e
2023-10-18 16:09:16 +00:00
Kevin Newton
c82b10bbc3
[ruby/prism] Modify less of the CRuby locals
...
aca24b3a17
2023-10-18 16:08:32 +00:00
Kevin Newton
5d0604366e
[ruby/prism] Add * and & to methods with ...
...
e8114a786a
2023-10-18 16:08:31 +00:00
Kevin Newton
5523a23469
[ruby/prism] Attach magic comments to the parse result
...
c7ef25a79a
2023-10-16 15:40:19 -07:00
Mau Magnaguagno
55a0d2c63b
[ruby/prism] Avoid unnecessary delete_prefix in LibRubyParser.resolve_type
...
Only remove const prefix from non-pointer types.
97c9ffeb42
2023-10-16 10:39:44 +00:00
Mau Magnaguagno
f6564fdd37
[ruby/prism] Simplify DedentingHeredoc#to_a
...
Move common ``results << token`` outside case-when.
84d0722ee9
2023-10-13 21:11:07 +00:00
Kevin Newton
e700582d98
[ruby/prism] Bump version to 0.14.0
...
1731bf4520
2023-10-13 19:45:37 +00:00
Kevin Newton
11e946da2f
[ruby/prism] Fix up PR failings
...
11255f636e
2023-10-13 15:31:30 -04:00
Kevin Newton
37d958eaf4
Remove old unescaping code
2023-10-13 15:31:30 -04:00
Vinicius Stock
69b024d7cc
[ruby/prism] Add full_name to ConstantPathNode and ConstantPathTargetNode
...
b390553028
2023-10-06 01:57:34 +00:00
gazayas
488c0ed051
[ruby/prism] Remove trailing parenthesis in Location#pretty_print
...
8eaa199a28
2023-10-04 17:00:09 +00:00
BurdetteLamar
1943ea06a6
[ruby/prism] [DOC] Link fix
...
472bdc4d70
2023-10-02 13:22:53 +00:00
Kevin Newton
49d3bbe13b
[ruby/prism] Add a logo
...
d87607b874
2023-09-29 15:39:24 +00:00
Kevin Newton
be63e2515b
[ruby/prism] Bump version
...
3e44415ca2
2023-09-29 15:21:50 +00:00
Kevin Newton
3d0a46796b
Rename YARP symbols to prism
2023-09-27 13:57:38 -04:00
Kevin Newton
4f73a7c2f7
Sync to prism rename commits
2023-09-27 13:57:38 -04:00
Kevin Newton
8ab56869a6
Rename YARP filepaths to prism filepaths
2023-09-27 13:57:38 -04:00