Benoit Daloze
6075f67ae6
[ruby/prism] Tweak wording for Prism::BACKEND
...
* TruffleRuby does support C extensions but FFI is faster there.
d211a87691
2024-02-29 19:24:04 +00:00
Kevin Newton
cd8d1018bb
[ruby/prism] Resync RBI and test it in CI
...
4ef4032774
2024-02-29 16:29:16 +00:00
Gopal Patel
dfee033746
[ruby/prism] Replace awkward code changes with steep:ignore
...
Also remove RBS for currently ignored files. Will follow-up when those
check fully in later PRs.
2cae58f86d
2024-02-24 03:39:28 +00:00
Gopal Patel
bfbaafbd9c
[ruby/prism] Make rake check_annotations verify public RBS
...
db78eef6a2
2024-02-24 03:39:26 +00:00
Noah Gibbs
16b39072a5
[ruby/prism] Move Prism::RipperCompat to Prism::Translation::Ripper
...
c0331abe4f
2024-02-12 15:57:57 +00:00
Kevin Newton
f12ebe1188
[ruby/prism] Add parser translation
...
8cdec8070c
2024-01-27 19:59:42 +00:00
Kevin Newton
10bc0bd4ab
[ruby/prism] Remove warnings check from parse_success? method
...
e30a241fb3
2023-12-07 14:39:11 +00:00
Kevin Newton
d35aa58b2f
[ruby/prism] Fix up docs for lex_compat
...
9131e84060
2023-12-04 17:15:19 +00:00
Kevin Newton
492c82cb41
[ruby/prism] Prism.parse_success?(source)
...
A lot of tools use Ripper/RubyVM::AbstractSyntaxTree to determine
if a source is valid. These tools both create an AST instead of
providing an API that will return a boolean only.
This new API only creates the C structs, but doesn't bother
reifying them into Ruby/the serialization API. Instead it only
returns true/false, which is significantly more efficient.
7014740118
2023-12-01 20:53:34 +00:00
Kevin Newton
94f82a65f7
[ruby/prism] Add the ability to convert nodes to dot
...
3e4b4fb947
2023-11-12 02:53:33 +00:00
Kevin Newton
05f5c545d2
[ruby/prism] Wire up options through the FFI API
...
f0aa8ad93b
2023-11-03 10:13:49 -04:00
Kevin Newton
f12617ec98
[ruby/prism] Fix up Prism and Debug docs
...
c2b7724d91
2023-11-01 13:10:29 -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