joy semantics in F

sa@dfa.com — 2006-06-28 16:43:46

i said earlier that it was a trivial matter to change the way F
handles names (viz. by leaving the value associated with the name
on the stasck) to conform to the way Joy handles them: retrieve
the value and disquote (execute) it. to make sure that was true,
i added a switch in the F interpreter which controls name-
evaluation, and then modified the F prelude accordingly:

wherever a name is concatenated with "!", elide the "!"
otherwise, replace the name "xyz" with "[xyz []]."

the second condition is a verbose F/Joy-neutral way of
retrieving the value of the name xyz.

the two preludes are:

http://www.nsl.com/k/f/prelude.f
http://www.nsl.com/k/f/prelude.j