[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:
How does MRI compile evals currently? I cannot find anything.
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?
[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:
variables we pass in because the system calling this already
knows. Is this adequate though?
https://github.com/ruby/yarp/commit/f441b6fd2c