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

[REBOL] rebol weak points (i think) Re:(7)

From: larry:ecotope at: 10-Sep-2000 19:48

Hi Carl Hey, thats great... I always wondered how you guys incorporated new natives ;-) ROTFL But, seriously, I did not mean to imply that there *should* be a REBOL compiler. Personally, I much prefer to develop code using an interactive interpreter. I just wanted to make the point that one *could* make a REBOL compiler with a few restrictions on late binding, etc. (which would not effect most folks code). I am pleased that you agree. BTW I just wiped my local directory and reloaded all the scripts using View Everything ran OK except the boing.r demo which still redefines load-image and do-events. It's looking good. Could you say a few words more about index files (on the ALLY list or in publish). I see the new ones have the keyword 'always. Does that cause the local copy to be refreshed every time? Does summary work yet? Would you like us to put the byte size of files in the icon entries? Cheers -Larry ----- Original Message ----- From: <[carl--rebol--com]> To: <[list--rebol--com]> Sent: Sunday, September 10, 2000 6:34 PM Subject: [REBOL] rebol weak points (i think) Re:(6)
> So, why don't you guys just use the 'compile function? > > fast-sort: compile function [data [block!] return: [block!]] [a
[integer!]] [...]
> print type? :fast-sort > native! > > <grin> > > Turns out, you *can* write a compiler for REBOL. However, to do so you
need to make "promises" about a function. You, the programmer, certify that the contents of the function is indeed compilable (by not using very late bound tricks).