diff options
| author | Thomas E. Enebo <tom.enebo@gmail.com> | 2023-07-27 14:46:19 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-16 17:47:32 -0700 |
| commit | 76c77b5eca3f02db894819823d3a1ab55455754d (patch) | |
| tree | 1719a0bbe3cbe627e240a73d9e7ef479d45810de /spec/ruby/core/kernel/shared/lambda.rb | |
| parent | 0f8091947debc467b58a2b04c150dc7a38026ed3 (diff) | |
[ruby/yarp] WIP - Introduce contextually parsing programs vs evals
This is more or less the code I used in my POC in JRuby
to parse evals. Evals depend on parent variable scopes
and will produce a different syntax tree.
Questions:
1. How does MRI compile evals currently? I cannot find anything.
2. This passes in a char * of data. It does not encode the
variables we pass in because the system calling this already
knows. Is this adequate though?
3. Can I get guidance on how best to test this?
https://github.com/ruby/yarp/commit/f441b6fd2c
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
Diffstat (limited to 'spec/ruby/core/kernel/shared/lambda.rb')
0 files changed, 0 insertions, 0 deletions
