cvs commit: hugs98/src connect.h hugs.c input.c parser.y static.c
Sigbjorn Finne
sof@glass.cse.ogi.edu
Thu, 21 Mar 2002 10:35:01 -0800
sof 2002/03/21 10:35:01 PST
Modified files:
src connect.h hugs.c input.c parser.y
static.c
Log:
Bind implicit parameters via "let"s, deprecating the "with" and "dlet"
binding forms.
* A "let" may now contain either a list of implicit parameter bindings,
or a list of 'normal' ones, BUT not a mixture.
* To avoid unecessarily upsetting existing i-param code, the 'W' toggle
enables support for the old "with" and "dlet" binding forms. With time,
this backwards-compatibility toggle will be dropped.
* Note: only expression-level "let"s may be used to bind implicit parameters,
i.e., binding them via comprehension/do-level "let"s (and "where", for that matter)
is not currently supported.
[ My understanding (which is limited) is that the meaning of allowing
i-parameter bindings in those contexts is unclear.
]
* The wording of the error messages has room for improvements.
Revision Changes Path
1.28 +5 -3 hugs98/src/connect.h
1.72 +16 -4 hugs98/src/hugs.c
1.39 +4 -4 hugs98/src/input.c
1.29 +33 -6 hugs98/src/parser.y
1.55 +94 -22 hugs98/src/static.c