Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Research activities. About to begin breaking the current implementati…
…on. Tagging this version. Finished tracing through the the Ruby C init so I have a full grasp of start to interpret. About to begin new implementation which has a Ruby VM in AS3 instead of using the AS3 VM to store the Ruby variables, classes, etc. Will be much more like HotRuby, but pre-compiled into AS3 instead of interpreted directly from Ruby VM bytecode.
- Loading branch information
1 parent
7e17977
commit 25daa0f
Showing
5 changed files
with
132 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package | ||
{ | ||
import flash.display.Sprite; | ||
|
||
import ruby.internals.RubyCore; | ||
|
||
public class RubyVMMain extends Sprite | ||
{ | ||
public function RubyVMMain() | ||
{ | ||
super(); | ||
RubyCore.init(); | ||
basic_rb(); | ||
} | ||
|
||
protected function basic_rb():void | ||
{ | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters