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

Re: [colorforth] FML


On Tuesday 27 January 2004 09:02 pm, Mark Slicker wrote:
> An aside, HTML can be used a little like Forth. Many of these of tags
> don't require end tags, so they may be considered like commands
> interspered with text. I don't know if this was the intended design or
> the result of lazy browsers. I think XML is strictly structered with
> begin and end tags required.

Technically, it is a factor of both lazy browsers and the fact that SGML 
permits tags that don't need closing tags.  Mix these two together, and 
you can see how some browsers might not render some HTML properly (this 
is/was a perpetual problem between browser vendors).  XML strives to fix 
this with more rigid syntax definition.

> Would you use a block editor to write documentation? I think the

I'd store the text in blocks, but the editor would likely be free-form, 
treating 4 (or so; maybe more as needed) blocks contiguously as a single 
"file."  I can't envision a single web page taking up more than 4K of 
markup text.  The rest would all be graphics.

> not be fixed boundries. I'm also not sure I would use huffman coding.
> Maybe utf-8 (unicode) would be sufficient, and would contain a builtin
> extensibility for other languages.

FTS/Forth is a punctuated Forth, and is designed primarily for text 
processing applications.  It's also designed to replace PygmyForth as my 
all-time favorite Forth environment.  :)

--
Samuel A. Falvo II


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