Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement constants #15

Open
Kacarott opened this issue Jan 25, 2022 · 1 comment
Open

Implement constants #15

Kacarott opened this issue Jan 25, 2022 · 1 comment
Labels
feature request New feature or request idea A potential feature/improvement. Not confirmed. v2 To be implemented for version 2

Comments

@Kacarott
Copy link
Collaborator

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 Kacarott added feature request New feature or request v2 To be implemented for version 2 idea A potential feature/improvement. Not confirmed. labels Jan 25, 2022
@JohanWiltink
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request idea A potential feature/improvement. Not confirmed. v2 To be implemented for version 2
Projects
None yet
Development

No branches or pull requests

2 participants