Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-12-25 18:42:36 -0800 (Sun, 25 Dec 2005)
Revision: 8363
Log message:
Changed the grammar variable convention to reduce the need for quotes.
- "<id>" is always a term
- '<id> is always a variable
- <id> is:
+ a term if a term "<id>" is in scope
+ a variable otherwise
Remaining issues:
- There is still an ambiguity:
name[1]
Is it a sovar, or a term?
- I would like to use "in" rather than "IN" for membership.
The conflict comes from "let ... = ... in ...", but maybe
it is possible to define precedences to give priority to
the "let" in this case.