[<<][staapl][>>][..]
Mon Jul 21 11:23:30 CEST 2008

compile/execute vs. run

Due to multi-stage semantics, the meanig of these 3 words requires a
little thought. There are several cases of quoted data to be handled:

macro
label
symbol

Currently, 'compile can handle it all, 'run handles macros and
delegates to ~run, while 'execute handles labels and delegates to
~run.

What about providing a basic ~run, and wrappers around it?

(Note that this is probably a symptom of ill-typed code: macros cannot
be target values.. why is that?)

Conclusion:

  They really do different things. 'run is the clean Coma version
  (Coma doesn't have labels), 'compile wont delegate to the runtime
  ~run and 'execute is a possibly optimized lowlevel execute which
  delegates to ~run.



[Reply][About]
[<<][staapl][>>][..]