rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.66k stars 193 forks source link

add back simple evaluation specs #370

Closed cowboyd closed 9 years ago

cowboyd commented 9 years ago

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.

georgyangelov commented 9 years ago

Great! Unfortunately, I won't be able to get anything done throughout the weekend...

cowboyd commented 9 years ago

No worries! Maybe we should meet over IRC or something to figure out the next steps...