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

[colorforth] colorforth code in ASCII


"Chuck Moore" <chipchuck@xxxxxxxxxxxxxx> writes:

> Why translate colorForth to ASCII? Much better in HTML.

That's great for reading with a browser, but isn't it pretty verbose
and difficult for a human to scan, compared to the ASCII
representation?  

Would you use the usual HTML indentation?

Do you have a better example than this one, which has few color changes:

<h1>IDE hard disk driver

<br><font color=red>bsy <font color=green>1f7 p@ 80 and if bsy ; then ;
<br><font color=red>rdy <font color=green>1f7 p@ 8 and if 1f0 a! 256 ; then rdy ;
<br><font color=red>sector <font color=green>1f3 a! swap p!+ /8 p!+ /8 p!+ /8 e0 or p!+ drop p!+ drop 4 * ;
<br><font color=red>read <font color=green>20 sector 256 for rdy insw next drop ;
<br><font color=red>write <font color=green>bsy 30 sector 256 for rdy outsw next drop ;
<hr></font>


At least, how about XML with ColorForth specific tags?

<red>bsy <grn> 1f7 p@  etc.

To me, HTML/XML is a useful third representation of the underlying ColorForth.

Regards, KBK------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com