Re: Context sensitive scanner ?

genew@vip.net (Gene Wirchenko)
23 Nov 1997 20:00:10 -0500

          From comp.compilers

Related articles
Context sensitive scanner ? hat@se-46.wpa.wtb.tue.nl (Albert Theo Hofkamp) (1997-11-20)
Re: Context sensitive scanner ? johnm@non.net (1997-11-23)
Re: Context sensitive scanner ? pjj@cs.man.ac.uk (1997-11-23)
Re: Context sensitive scanner ? Mikael.Pettersson@sophia.inria.fr (Mikael Pettersson) (1997-11-23)
Re: Context sensitive scanner ? genew@vip.net (1997-11-23)
Re: Context sensitive scanner ? thetick@magelang.com (Scott Stanchfield) (1997-11-24)
Re: Context sensitive scanner ? cfc@world.std.com (Chris F Clark) (1997-11-28)
Re: Context sensitive scanner ? henry@zoo.toronto.edu (Henry Spencer) (1997-11-28)
Re: Context sensitive scanner ? ok@cs.rmit.edu.au (1997-11-29)
Re: Context sensitive scanner ? hat@se-46.wpa.wtb.tue.nl (Albert Theo Hofkamp) (1997-11-29)
Re: Context sensitive scanner ? thetick@magelang.com (Scott Stanchfield) (1997-11-30)
[5 later articles]
| List of all articles for this month |
From: genew@vip.net (Gene Wirchenko)
Newsgroups: comp.compilers
Date: 23 Nov 1997 20:00:10 -0500
Organization: All USENET -- http://www.Supernews.com
References: 97-11-117
Keywords: syntax, lex

Albert Theo Hofkamp <hat@se-46.wpa.wtb.tue.nl> wrote:
>We are busy writing a language where the following constructs occur:
>
>1) Literal reals (such as 1.2),
>2) Nested index operations on arrays (such as x.1.2).
>
>Obviously, indices are always unsigned positive integers.
  ^^^^^^^^^
          "Obviously", indices are "always"
              1) unsigned non-negative integers,
              2) single-digit decimal numbers,
              3) powers of two, and
              4) literal values.
All four fit your example above. Some people consider one to be a
prime: for them, add
              5) prime.


[snip]


          I'm not a compiler expert, but I can tell you that "obviously" is
a dangerous word.


Sincerely,


Gene Wirchenko
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.