Project

General

Profile

« Previous | Next » 

Revision 76c77b5e

Added by enebo (Thomas Enebo) almost 2 years ago

[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