Re: [Flashforth-devel] Free form number
Brought to you by:
oh2aun
From: Herman A. <exp...@vn...> - 2014-03-26 19:31:13
|
It is perfect solution to extend the >number to ignor the separator. I think the best choice is the underscore character. The comma disturb me a bit, because it is "decimal point" in hungarian notation. :-) Thanks, BR Attila ----- Eredeti üzenet ----- Feladó: Mikael Nordman <mik...@pp...> Dátum: Szerda, Március 26, 2014 6:39 Tárgy: Re: [Flashforth-devel] Free form number Címzett: fla...@li... > 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 > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > |