Related articles |
---|
Compiler with adjustable parser worley@Compass.COM (1990-03-05) |
Date: | Mon, 5 Mar 90 18:07:55 EST |
From: | worley@Compass.COM (Dale Worley) |
Keywords: | parse,algol86 |
arnold@audiofax.com (Arnold Robbins) writes:
> Didn't Algol-68 allow the programmer to change the precedence of
> operators and such?
Yes, it allows the user to redeclare the precedences of operators. It
also allows the user to declare "boldface" words as operators (or as
type-names). Since operator, precedence, and type-name declarations
take effect throughout the block the declaration appears it, the
program has to be lexed and parsed completely for block structure
before it can be parsed for expression syntax!
Dale Worley Compass, Inc. worley@compass.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.