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
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email