Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #25030

Re: Scanning versus Parsing

Date 2013-08-06 14:31 +0100
Subject Re: Scanning versus Parsing
From Ian van Breda <igvb@btopenworld.com>
Newsgroups comp.lang.forth
Message-ID <CE26B94B.3874%igvb@btopenworld.com> (permalink)
References <CE216AB0.36B5%igvb@btopenworld.com> <5200cfb4$0$612$e4fe514c@dreader34.news.xs4all.nl>

Show all headers | View raw


in article Albert van der Horst at wrote on 06/08/2013 11:28:

> In article <CE216AB0.36B5%igvb@btopenworld.com>,
> Ian van Breda  <igvb@btopenworld.com> wrote:
>> The terms 'parse' and 'parsing' are widely use in the documentation on
>> both in the original ANS Standard of 1994, [1], and in the draft
>> Proposal, [2].
>> 
>> However, the term 'parsing', in both the treatment of natural language
>> and the theory of computer languages, implies analysis of the structure
>> of a sentence or language construct. In computing it refers to checking
>> that the tokens extracted from the source code of a program follow the
>> grammatical rules of the language [3] and [4]. There are many examples
>> in the literature.
> 
> According to this definition there is no parsing in Forth.
> Blame us for using the term parsing for the nearest thing.
>> 
>> 
It would have been less confusing if the standards committee had used
scanning instead of parsing.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Scanning versus Parsing Ian van Breda <igvb@btopenworld.com> - 2013-08-02 13:54 +0100
  Re: Scanning versus Parsing Andrew Haley <andrew29@littlepinkcloud.invalid> - 2013-08-02 09:14 -0500
    Re: Scanning versus Parsing Ian van Breda <igvb@btopenworld.com> - 2013-08-06 09:24 +0100
  Re: Scanning versus Parsing anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-08-02 15:25 +0000
  Re: Scanning versus Parsing albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-08-06 10:28 +0000
    Re: Scanning versus Parsing Ian van Breda <igvb@btopenworld.com> - 2013-08-06 14:31 +0100
      Re: Scanning versus Parsing albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-08-06 17:47 +0000
  Re: Scanning versus Parsing Hans Bezemer <the.beez.speaks@gmail.com> - 2013-08-11 19:20 +0200
    Re: Scanning versus Parsing Ian van Breda <igvb@btopenworld.com> - 2013-08-15 11:07 +0100

csiph-web