From: Herman A. <exp...@vn...> - 2014-05-20 21:37:13
Hello Mikael,
Thanks for the realization of punctuation. I have tested it, and works
well.
I see only one side-effect. Two or more dot without any real number
digit generates doube zero:
.. -> 0 0
... -> 0 0
I think, it would be better to see them as words, if it is not too
difficult to realize.
BR
Attila
From: craig b. <dab...@ya...> - 2014-05-22 11:01:03
That side effect would be mildly annoying to this old bear since I routinely use a double-dot to purge the parameter stack when experimenting... Might be tolerable if the "sp!" was made available and I could actually get a stack-purge word to not restart the interpreter (grin).
Save periods for floating point, they're confusing enough as "double flags" to the novices I try to introduce to the system. I still believe there's a reason we call them "Decimal Points".
craig bair -- binary behaviorist
... "There are quite enough amateur loonies in this universe,
no need to call in the professionals..."
-- Phil Foglio --
From: Mikael N. <mik...@pp...> - 2014-05-22 11:45:34
I use the double dot as well to clear the stack an noticed the side
effect immediately.
I will fix it as soon as I have some time.
Period is simple as punctuation since it is already used as double flag.
I just want a simple scheme as possible. I have no intention to
sugarcote the interpreter with mathematical or bussiness symbols.
FlashForth is used mostly for HW control and bit-banging.
I have no plans to introduce floating point in FlashForth, so that
confusion will not arise anytime soon :-)
Mike
" Professional - An amateur that can afford to fail "
-- Mike --