rainbow converts arc lists and hashes to and from java List and Map equivalents.
rainbow also uses 'defcall from anarki so you don't ever have to call java-invoke: you can put your java-object in functional position, followed by the method name, followed by the arguments. For example,
(my-object 'hashCode)
is the equivalent of java's myObject.hashCode(); ... essentially the same number of tokens. I expect to wrap the most popular java libraries behind arc-sounding macros/functions.
rainbow comes with a tetris and a simple arc editor called welder, they both use java's Swing library, take a look if you'd like to see an example of this kind of wrapping. Or try http://www.fnargs.com/2009/01/calling-java-from-arc.html
I think "official arc" still assumes a unix for some functions ... I don't know what PG's final position on this is.
rainbow also uses 'defcall from anarki so you don't ever have to call java-invoke: you can put your java-object in functional position, followed by the method name, followed by the arguments. For example,
is the equivalent of java's myObject.hashCode(); ... essentially the same number of tokens. I expect to wrap the most popular java libraries behind arc-sounding macros/functions.rainbow comes with a tetris and a simple arc editor called welder, they both use java's Swing library, take a look if you'd like to see an example of this kind of wrapping. Or try http://www.fnargs.com/2009/01/calling-java-from-arc.html
I think "official arc" still assumes a unix for some functions ... I don't know what PG's final position on this is.