There are no reviews yet. Be the first to send feedback to the community and the maintainers!
= bitescript http://github.com/headius/bitescript == 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 == LICENSE: Copyright (c) 2009-2011, Charles Oliver Nutter All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of BiteScript nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
rubyflux
A Ruby static compiler.thread_safe
This project has been absorbed by ruby-concurrency/concurrent-rubyruby-atomic
Atomic reference implementation for Rubymirah
Mirah has moved to http://github.com/mirah/mirahinvokebinder
A Java DSL for binding method handles forward, rather than backwardduby
The Duby Programming Languagejruby-pg
A JRuby version of the "pg" gem.jo
Implementation of key Go (lang) features for (J)Rubyindy_deep_dive
Examples from my invokedynamic "deep dive" talkspoon
A fork/exec replacement for FFI-capable implementationssurinx
A simple dynamic language for the JVMcloby
A Clojure Ref/STM plugin for JRubyosx-on-linux
Configurations and guides to making Linux feel like OS Xluaj
boing
Preloader-aware command runner for JRuby, a la Spring.dexclient
A wrapper around the "dex" tool from Android to use it as a libraryclojr
A JRuby ext wrapping Clojure's data structs as efficiently as possibleforkjoin.rb
A JRuby extension/wrapper around the Java 7 Fork/Join frameworkLogCompilation
The LogCompilation tool from OpenJDK, as-is.redblack
A red/black tree impl and benchweakling
A modified WeakRef impl for JRuby plus some weakref-related toolslazy_enumerator
A pure-Ruby implementation of Ruby 2.0's Enumerator::Lazyoptions
A small library for managing sets of JVM properties to configure an app or library.hprof2
A fork of the "hprof" JVMTI demo from OpenJDK, which instruments JVM bytecode via the JVMTI APIs.jruby-cdc
JRuby stripped down to run on the Java ME CDC profilejcd
JRuby version of MacRuby's Grand Central Dispatch wrappermediakiller
A converter for MediaWiki markup to other formatsjibernate
A JRuby/Hibernate integration example, maybe eventually a full APIjruby-spymemcached
It's what you think it is.netty-examples
Ports of the examples from Nettybackport9
Backports and utilities to support Java 9 and higher on Java 8hackit
A small utility to take advantage of various Windows desktop/window manager hacks.rx
Tim Bray's pure-Ruby XML parserto_source
JRuby to_source (and to_ast) using jrubyparserxni
A possible new C API for extending Ruby implsrefractor
Utilities to generate direct-invoking stubs, avoiding reflective calls.protoj
Experiment in generating prototype classes on JVM similar to V8unsafe-fences
A wrapper around the Java 8 fences API for you to compile against.railsunder
My Rails Underground demosjoniguruma
A pure-Ruby stub to emulate the Oniguruma gem on JRubyjruby-handle-compiler
An experiment in compiling JRuby AST nodes to method handlesquercus
Quercus: Caucho's PHP on the JVMmarkdown_meta
markdown_meta is a meta-gem for markdown parsing and content generation.jruby-demos
Demos for JRuby presentations at conferencesjmx_jruby
A JMX wrapper library for JRubyrubytidy
A tool like perl's "perltidy" for reformatting Ruby source.sioc
Scheme InOneClassindy-examples
Examples and toys relating to invokedynamicjruby-stm
A thin wrapper around Clojure's STM for JRubygc_tests
Ruby scripts designed to test, stress, monitor, or demonstrate GC in Rubyunsafe-mock
A mock of sun.misc.Unsafe for building against.jruby_gc_stats
GC stat-monitoring methods similar to Ruby Enterprise Editionmodulator
butthurt
rackup_thing
ChaosBazaar
A port of ControlTower to work atop JCDruby-concurrency
The online book on concurrency in Rubycoro-mock
A small mock library for compiling JVM coroutine-utilizing code on JVMs without coroutinessequence_counter
Examples of single and multi-threaded algorithms with incremental optimizationsbone_utils
Utilities and scripts for the BeagleBonerubyvm_mvm
Implementation of MRI's MVM API for JRubyindifier
A tool for converting various Java calls into invokedynamic calls, for fun and profit.jpager
Example of using Java 7 ProcessBuilder to launch an interactive pagerjruby-autolink
A JRuby wrapper around the autolink-java library to provide autolinking like rinkucore-benchmarks
jruby-extras-demo
Demonstration of some "extra" libraries that come with JRuby.debugr
A JVM/JDI-based debugger written in Rubyindy-crasher
byte-string-examples
rubyconf2011
jsr166y-gem
A gem containing the jsr166y jar filejdi_objectspace
A primitive implementation of Ruby's ObjectSpace using the Java Debug Interfacepgrailsbench
jsr292-mock
Mock versions of java.lang.invoke from Java 7-8 for compilationsingletonizer
A way to add singleton methods to objects without creating singleton objectsdcpu-16-j
Java implementation of notch's DCPU-16graal
Love Open Source and this site? Check out how you can help us