Changelog for lfinput.fs and lfinput-test.fs. Unattributed changes are by the initial author, David N. Williams. The revision dates in the source files may be more recent than the most recent date here, when only cosmetic changes have been made. Version 0.5.6 13Sep06 * Added S-LFINPUT-AFTER. Untested. 14Sep06 * Added FILE-STACK-DEPTH, FILE-SP0!. Untested. * Added EMPTY-LFINPUT. Untested. 19Sep06 * Added REWIND-LFINPUT. Fixed bug in EMPTY-LFINPUT and tested both by successful use in an application. 4Aug10 * Added missing DROP after LFREFILL in lfinput-test.fs. 21Aug21 * Renamed PFE as USE-PFE-PARSING in lfinput.fs. * Added USE-PFE-PARSING switch in lfinput-test.fs. Version 0.5.5 24Aug06 * Adjusted for new parsing-strings.fs and parsing-input.fs, 0.5.0, except the pfe version with new names isn't ready yet. 25Aug06 * Renamed: PARSE-LFIN as LFPARSE EXHAUST-LFIN as EMPTY-LFPARSE-AREA PARSE-LFIN-WORD as LFPARSE-NAME NEXT-LFIN-WORD as NEXT-LFINPUT-NAME REFILL-LFIN as LFREFILL LFBIN as LFPOS 27Aug06 * Fixed to include parsing.fs instead of parsing-strings.fs Version 0.5.4 9Aug06 * Grouped file-stack words with save/restore words, all to be compiled when MAX-FILE-DEPTH is greater than one. Modified lfinput-test.fs accordingly. Version 0.5.3 30Jul06 * Reverted from LFIN-SOURCE, LFIN-PARSE-AREA@, LFIN-PARSE-AREA! names to LFSOURCE, LFPARSE-AREA@, LFPARSE-AREA! Unfortunately, I can't avoid name-flipping! Did the same in lfinput-test.fs. * Restored LGPL. * Renamed the double cell file position LFBINPUT as LFBIN. * Merged lfinput-pfe.fs into lfpinput.fs, with conditional compilation. Really too hard to maintain two files. * Renamed FILE-SB as FILE-STACK. 31Jul06 * Conditional compilation for string extensions BL-SKIP, BL-SCAN, SEPARATE, SAFTER, all of which are now in parsing-ext.c. 2Aug06 * Cleaned up lfinput-test.fs. Version 0.5.2 17Dec04 * Added file stack words: MAX-FILE-DEPTH, FILE-SB, FILE-S0, FILE-SP, >FILE-STACK, FILE-STACK>, SAVE-LFIN, RESTORE-LFIN. * Started lfinput-test.fs 18Dec04 * Added LFBOL because it's awkward to track how many eols, if any, are read with a line. * Decided it's more straightforward for SAVE-LFIN to zero the lfib rather than to exhaust it. * Finished simple tests with lfinput-test.fs, lftest1.fs, lftest2.fs. * Renamed LFBOL as LFBINPUT, and made SAVE-LFIN update it to leave the lfinstream valid. 19Dec04 * Added a test to ensure that SAVE-LFIN ... RESTORE-LFIN moves the file position to the beginning of the parse area, which remains the same as before. 20Dec04 * Last revision to lfinput-test.fs. We're not keeping old versions. Version 0.5.1 14Dec04 * Extracted line-file stack words into lfinput-pfe.fs, leaving ANS only version in lfinput.fs. * Added string extensions that were C primitives in the pfe version: BL-SKIP, BL-SCAN, SEPARATE, SAFTER, SFIRST-WORD, SPARSE-WORD. * Changed names LFSOURCE, LFPARSE-AREA@, LFPARSE-AREA! to LFIN-SOURCE, LFIN-PARSE-AREA@, LFIN-PARSE-AREA!. * Cleaned up PARSE-LFIN, added PARSE-LFIN-WORD, NEXT-LFIN-WORD. * Revised comments. 15Dec04 * Changed license from LGPL to UPDL. Version 0.5.0 6Oct04 * Start. Puzzled by spec for READ-LINE. Collected ANS Forth RFI and messages from c.l.f. thread "ANS READ-LINE question", from 7Jun99. 7Oct04 * Understood the spec and verified that current pfe and Gforth obey it. Implemented REFILL-LFIN, LFINS (line-file input stack), SAVE-LFIN, RESTORE-LFIN. The stack currently requires our pfe xstacks module. 12Oct04 * Decided not to use READ-LINE's facility for line input of less than a line, because it interferes with the input stream analogy. * Added LFSOURCE, LFPARSE-AREA@, LFPARSE-AREA!. Also EXHAUST-LFIN commented out. 13Oct04 * Uncommented EXHAUST-LFIN, used in PARSE-LFIN.