[ANN] bitescript 0.0.6

  • Thread starter Charles Oliver Nutter
  • Start date
C

Charles Oliver Nutter

bitescript 0.0.6 is released:

=== 0.0.6 / 2010-06-09

* Move to a class mirror API rather than loading and walking real classes
* Bug fixes for annotations
* Allow forward references to labels for easier branch logic

About BiteScript:

= bitescript

http://kenai.com/projects/jvmscript

== DESCRIPTION:

BiteScript is a Ruby DSL for generating Java bytecode and classes.

== FEATURES/PROBLEMS:

== SYNOPSIS:

require 'bitescript'

include BiteScript

fb = FileBuilder.build(__FILE__) do
public_class "SimpleLoop" do
public_static_method "main", void, string[] do
aload 0
push_int 0
aaload
label :top
dup
aprintln
goto :top
returnvoid
end
end
end

fb.generate do |filename, class_builder|
File.open(filename, 'w') do |file|
file.write(class_builder.generate)
end
end

== REQUIREMENTS:

JRuby 1.2 or higher.

== INSTALL:

gem install bitescript
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top