home .. forth .. colorforth mail list archive ..

Re: [colorforth] use of ...


We should use color insted of puntuation  ( "..." )
Orange word  exits last definition  creates entery . like  Orange baricads
across the road.
Red word  does not exit   last definition creates entery.
Making  "..." not needed.
 Keep ";" for when the next structure does not start with a red or orange
word ;


"if else "   pair   "else" exits true definition   start false definition.
" if then"   pair   resume defination.
" if  else then "   is an error  not  cought.
" if  if then else"  ????   needs factoring
" if if  else then" ???
" if  else  if  else if else " ????  How meny exits?
" if  then  if then if else "
" if then if the if then ; "
" if ; then if ; then ; " this is a stop or resume structure

Robert




> Interesting Discussion, cause there's a possible improvement
> and simplification.
>
> the ; code (with optimizations) could be embedded
> into the red word handler, they could start a line
> so the first word of a line is automatically red
> (new line in standard text is the red color token perhaps)
> and ... is placed *after* red words, to undo the ret, jump or
> push jump opimizations, so the word could fall through.
> would be a simple macro.
>
> I'll try the idea as soon as I can in my tokenizing scheme.
>
> Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com