Re: Parsing text files with standard words
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Re: Parsing text files with standard words         


Author: Gerry
Date: Sep 15, 2008 05:23

On 14 Sep, 23:01, m...@iae.nl (Marcel Hendrix) wrote:
> Gerry jackson9000.fsnet.co.uk> writes Re: Parsing text files with standard words
> [..]
>
>
>
>> 2. define a word that parses and processes the rest of the file
>> and call this word at the start of the file. The file can then
>> be INCLUDED e.g. XML can be handled in this way by defining a
>> word called >> handling files generated elsewhere or if other files need to be
>> included in the first file.
> [..]
>> I've seen discussions on this deficiency (IMHO at least) in the
>> ANS standard in the c.l.f archives but they all seem rather
>> inconclusive. The fundamental problem is that all words, such as
>> INCLUDED, that change the input source also invoke the Forth
>> text interpreter and there is no standard way of overcoming
>> this. So whenever a file is INCLUDED the application loses
>> control to the text interpreter and, if it wants to use standard ...
Show full article (1.78Kb)
no comments