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

[ColorForth] immediate


Sean,

> The second benefit is that the MACRO wordlist makes for easy
> optimization. For example DROP could exist in both wordlists. The
> MACRO version would compile drop inline while the normal version is a
> normal executeable threaded word.

That is a very good idea. I think I'll try the "all green code" route, 
then. It is a matter of taste, as you said. The extra complexity of the 
compiler is so small that it is hard to notice.

Dirk,

the comma postfix is a good idea but space is very critical in my 
application and your dictionary is twice as big as it could be. That 
doesn't matter as much when cross compiling, of course.

I have all sorts of strange characters in my LCD (including 8 I can 
define myself) and will see if using the more space-like ones to 
indicate colors is reasonable. So I would have a "tiny dot" prefix 
instead of your comma postfix. But the tiny dot would replace the space 
before the word, so it would be a little more compact.

Jeff,

making red words left justified is a very good idea. In a 256 byte 
block with no line feeds and with word wrapping, words would normally 
start in the second column. Making each definition be its own virtual 
line also makes navigation easier using the up/down keys.

I am doing a demo of the application on the Atmel development board 
since that is what I have handy, but after this is done I will propose 
replacing the ATmega103 with a FPGA implementation of MISC. If it could 
fit in a Spartan 2 XC2S15, for example, then it would cost just half as 
much (even with an external Flash chip) but would perform *much* better.

BTW, for editing color code "offline" I am using the Composer 
application in Netscape. That way I have a text anyone can read and 
which is easy to convert into a real color source. Picking colors from 
a menu is much less awkward than I would have thought.

Thanks,
-- Jecel
------------------------

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.ultratechnology.com