This begins the process of layering the ruby code ontop of the new C layer.
In order to iterate rapidly, I just cut and pasted the content of the redjs_spec (the shared suite between therubyrhino and therubyracer) into spec/v8/context_spec.rb As we take on a new test case, we can just uncomment it.
Implementation details:
Currently, every V8::Context gets an :isolate property so that it can satisfy the low-level apis.
Almost every bit of the high level Ruby api has been commented out so that we can re-think it as we go along.
This begins the process of layering the ruby code ontop of the new C layer.
In order to iterate rapidly, I just cut and pasted the content of the
redjs_spec
(the shared suite between therubyrhino and therubyracer) intospec/v8/context_spec.rb
As we take on a new test case, we can just uncomment it.Implementation details:
Currently, every
V8::Context
gets an:isolate
property so that it can satisfy the low-level apis.Almost every bit of the high level Ruby api has been commented out so that we can re-think it as we go along.