lambda-calculus icon indicating copy to clipboard operation
lambda-calculus copied to clipboard

Implement constants

Open Kacarott opened this issue 3 years ago • 1 comments

JohanWiltink: "currently all variables can not only be shadowed but also overwritten. this might mean introducing full scoping, and might not be worth it. or is it just a matter of tagging names in the environment?"

Kacarott avatar Jan 25 '22 18:01 Kacarott

overwritten * in the current scope

disabling overwriting need not disable shadowing, so tagging binding names would do. we already have hierarchical scopes.

this would need a syntax extension - actually a compiler directive would do just fine and be conceptually appropriate.

JohanWiltink avatar Feb 07 '22 00:02 JohanWiltink