only one PRE is allowed per line.
ie, you canât use ELSE and DEL in the same line.
the PRE system (with the : separator) is only real âhackâ to what is a very standard prefix notation calculator (which teletype is). http://en.wikipedia.org/wiki/Polish_notation
as it stands, the engine isnât equipped in its current state to do things like
FLIP X
because X is passed as a value, and FLIP doesnât have any facility to know the address of the variable. this seems trivial, but itâd be an ugly hack into a currently very elegant and efficient engine. luckily, most things can be done that youâve suggested, but require more words. FLIP X is:
X EZ X
here values flows right to left. the leftmost is always the setter.
the ELSE DEL can be implemented as a var instead. letâs us T because itâs time based (this is arbitrary)
1
IF X T 0
ELSE T PARAM
DEL T : II WW.SYNC
X EZ X
hope that all makes sense. iâm well into the manual now, should have a mostly-complete version posted by tonight.