Hmmm...

    >> ? compile
    No information on compile (word has no value)
    >>

So is the note below simply a gedankenexperiment, or is this in the
works?

-jn-  "Anything can be compiled, but compiling arbitrarily ugly
       or complex code may not get you any benefits in time or space!"

[EMAIL PROTECTED] wrote:
> 
> 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).
> 
> The benefit of the above is that you can use the rest of the REBOL
> environment for meta stuff... like preprocessing what you will compile.
> 
> -Carl
>

Reply via email to