c-addr c@ [char] E =\r
c-addr c@ [char] e = OR\r
IF\r
- 1 +-> c-addr -1 +-> u' \ skip E char
- u' 0>
+ 1 +-> c-addr -1 +-> u' \ skip E char\r
+ u' 0>\r
IF\r
- c-addr c@ [char] + = \ ignore + on exponent
+ c-addr c@ [char] + = \ ignore + on exponent\r
IF\r
1 +-> c-addr -1 +-> u' \ skip char\r
THEN\r
IF\r
nshift + -> nshift\r
true -> flag\r
- THEN
- ELSE
- true -> flag \ allow "1E"
+ THEN\r
+ ELSE\r
+ true -> flag \ allow "1E"\r
THEN\r
THEN\r
ELSE\r
\\r
\ The most recent entry is put at the beginning,\r
\ older entries are shifted up.\r
-
-4 constant KH_LINE_EXTRA_SIZE ( 2 count bytes plus 2 size bytes )
+\r
+4 constant KH_LINE_EXTRA_SIZE ( 2 count bytes plus 2 size bytes )\r
\r
: KH-END ( -- addr , end of history buffer )\r
kh-history kh_history_size +\r
ELSE\r
>r ( save count )\r
\ Set look pointer to point to first count byte of last string.\r
- 0 kh-look !
-\ Make room for this line of text and line header.
+ 0 kh-look !\r
+\ Make room for this line of text and line header. \r
\ PLB20100823 Was cell+ which broke on 64-bit code.\r
r@ KH_LINE_EXTRA_SIZE + kh.make.room\r
\ Set count bytes at beginning and end.\r
README for pForth - a Portable ANS-like Forth written in ANSI 'C'\r
\r
by Phil Burk\r
-with Larry Polansky, David Rosenboom and Darren Gibbs.
+with Larry Polansky, David Rosenboom and Darren Gibbs.\r
Support for 64-bit cells by Aleksej Saushev.\r
\r
Last updated: May 20, 2010 V26\r
-
-Code for pForth is maintained on Google at:
- http://code.google.com/p/pforth/
+\r
+Code for pForth is maintained on Google at:\r
+ http://code.google.com/p/pforth/\r
\r
-Documentation for pForth at:
+Documentation for pForth at:\r
http://www.softsynth.com/pforth/\r
-
-For technical support please use the pForth forum at:
- http://groups.google.com/group/pforthdev
+\r
+For technical support please use the pForth forum at:\r
+ http://groups.google.com/group/pforthdev\r
\r
The author is available for customization of pForth, porting to new\r
platforms, or developing pForth applications on a contractual basis.\r
-If interested, contact Phil Burk at:
+If interested, contact Phil Burk at:\r
http://www.softsynth.com/contacts.php\r
\r
-- LEGAL NOTICE -----------------------------------------\r
Release History for pForth - a Portable ANS-like Forth written in ANSI 'C'\r
\r
Documentation for pForth at http://www.softsynth.com/pforth/\r
-
-V27
- - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION.
- They used to use single precision offset. Now use double as specified.
- - Delete object directories in Makefile clean.
- - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error".
- http://code.google.com/p/pforth/issues/detail?id=4&can=1
- - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +.
- - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2.
- - Fixed lots of warning and made code compatible with C89 and ANSI with -pedantic.
- - Use fseek and ftell on WIN32 instead of fseeko and ftello.
\r
-V26 5/20/2010
- - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej!
+V27\r
+ - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION.\r
+ They used to use single precision offset. Now use double as specified.\r
+ - Delete object directories in Makefile clean.\r
+ - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error".\r
+ http://code.google.com/p/pforth/issues/detail?id=4&can=1\r
+ - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +.\r
+ - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2.\r
+ - Fixed lots of warning and made code compatible with C89 and ANSI with -pedantic.\r
+ - Use fseek and ftell on WIN32 instead of fseeko and ftello.\r
+\r
+V26 5/20/2010\r
+ - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej!\r
\r
-V25 5/19/2010
- - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej!
- - Added "-x c" to Makefile CCOPTS to prevent confusion with C++
+V25 5/19/2010\r
+ - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej!\r
+ - Added "-x c" to Makefile CCOPTS to prevent confusion with C++\r
- Allow space after -d command line option.\r
- Restore normal tty mode if pForth dictionary loading fails.\r
\r