Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Compiler for Rebol ? Re:(13)

From: news:ted:husted at: 27-Sep-2000 11:21

On 9/28/2000 at 12:22 AM [handy--techie--com] wrote:
> By an interpreter I take it you mean parsing REBOL code and mapping
REBOL commands to JAVA commands and executing them? A working example of this product category might be the jPhython project < http://jpython.org/ >. Like REBOL, Python is an interpreted scripting language. jPython does what you might expect, interpret Python code and spit out bytecodes to the JVM, much like cPython would interpret Python and spit machine code to the processor. There's not a snowball's chance of this happening, but if it did, it would mean you could encapsulate REBOL scripts within Java programs. Of course, there may be performance trade-offs, since many JVM's are pokey. Using a high-performance Java configuration, people have matched benchmarks between jPython and cPython (the conventional C implementation). Though, in practice, jPhython is said to be 2.5x slower than the mature cPython compiler. -Ted.