Re: [Flashforth-devel] Free form number
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2014-03-26 17:39:07
|
I could easily extend the FF >number so that it would work as today but just ignore certain punctuation. What would be the best choice for punctuation ? Perhaps the comma character. Or use the period anywhere in number to indicate that it as double number. Not having any punctuation in single numbers. This is how it is described in Forth Programmers Handbook. Single precision number #10,345 %1011,1101,1111,0000 $fad,e Double precision numbers %1011_1101_1111_0000. #10,345. $fade,babe. $f,a,d,e,b,a,b,e. You proposal with separate parsing words can be implemented as an add-on if wanted. BR Mike |