Patch from Victor Hugo Borja <vic@rubyforge.org>
commit9f383a35261acfdcbdd713ed3ef8d50959cb55aa
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Thu, 6 Sep 2007 16:23:17 +0000 (6 16:23 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Thu, 6 Sep 2007 16:23:17 +0000 (6 16:23 +0000)
treeb276fc14e27a6befe93fa5f900c1ec964dffa489
parentc0c871cfc7c5b104bf2c9ffd69c47d62a1e2daa7
Patch from Victor Hugo Borja <vic@rubyforge.org>

This patch implements -T1 -F0 -F1 and -G0 in the ruby code generator.
Goto-driven code generation requires rubinius asm directives (specify with
--rbx option). These code generators pass all the ruby tests.

git-svn-id: svn://mambo.cs.queensu.ca/ragel/trunk@276 052ea7fc-9027-0410-9066-f65837a77df0
16 files changed:
rlgen-ruby/Makefile.in
rlgen-ruby/main.cpp
rlgen-ruby/rbx-gotocodegen.cpp [new file with mode: 0644]
rlgen-ruby/rbx-gotocodegen.h [new file with mode: 0644]
rlgen-ruby/rlgen-ruby.h
rlgen-ruby/ruby-codegen.cpp [new file with mode: 0644]
rlgen-ruby/ruby-codegen.h [moved from rlgen-ruby/rubycodegen.h with 60% similarity]
rlgen-ruby/ruby-fflatcodegen.cpp [new file with mode: 0644]
rlgen-ruby/ruby-fflatcodegen.h [copied from rlgen-ruby/rlgen-ruby.h with 50% similarity]
rlgen-ruby/ruby-flatcodegen.cpp [new file with mode: 0644]
rlgen-ruby/ruby-flatcodegen.h [new file with mode: 0644]
rlgen-ruby/ruby-ftabcodegen.cpp [new file with mode: 0644]
rlgen-ruby/ruby-ftabcodegen.h [copied from rlgen-ruby/rlgen-ruby.h with 51% similarity]
rlgen-ruby/ruby-tabcodegen.cpp [moved from rlgen-ruby/rubycodegen.cpp with 54% similarity]
rlgen-ruby/ruby-tabcodegen.h [new file with mode: 0644]
test/runtests