Immediate/Compile Time Execution for
Mark Wieder
mwieder at ahsoftware.net
Sat Feb 21 20:59:54 EST 2004
Kevin-
I'm not sure where you're trying to go with this thread, but
Transcript by its nature extends the language as you go along. For
example, the Forth statement
: beeps 0 do beep loop ;
would be coded in Transcript as
on dots howMany
repeat with howMany
beep
end repeat
end dots
and then you would use it the same way:
4 beeps
so you're actually building extensions to the language as you go
along, much the same way that you extend the Forth dictionary. Not
much support for vocabulary switching, though, if you're used to that.
There's no explicit support for objects, although there's been a lot
of discussion about it. You can always do aggregate objects, of
course, but there's no subclassing.
I think my development time in Transcript is about equal to that in
Forth and there's a much richer set of existing functions and
operators to draw from. If you're looking for support for runtime
[compile] statements, though, you're probably better off looking
through the Transcript dictionary and finding a different way of doing
things instead of thinking in Forth.
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list