// require Janino from http://www.janino.net
private static class JaninoCompiller implements Compiller {
public byte[] compile( String name, String source) throws Exception {
// using janino embeddable compiller
Parser p = new Parser( new Scanner( name, new StringReader( source)));
CompilationUnit cu = p.parseCompilationUnit();
IClassLoader cl = new ClassLoaderIClassLoader( new URLClassLoader( new URL[] {}));
return cu.compile( cl, 0)[0].toByteArray();
}