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

spec: replace the type shorthands #116

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

zerbina
Copy link
Collaborator

@zerbina zerbina commented Feb 19, 2025

Summary

Replace the type shorthands ("int", "float", etc.) with the
real syntax (IntTy(), FloatTy(), etc.) in the formal definition.

Details

The type shorthands were originally intended to make the definition
easier to read, but they're currently defined as if they were separate
syntactic constructs (which they're not).

They're replaced with the type syntax they stand for, bringing the
language definition closer to what was/is intended.


Notes For Reviewers

Summary
=======

Replace the "type shorthands" (`"int"`, `"float"`, etc.) with the
real syntax (`IntTy()`, `FloatTy(),` etc.) in the formal definition.

Details
=======

The type shorthands were originally intended to make the definition
easier to read, but they're currently defined as if they were separate
syntatic constructs (which they're not).

They're replaced with the type syntax they stand for, bringing the
language defintion closer to what was/is intended.
@zerbina zerbina changed the title spec: replace the type constructor shorthands spec: replace the type shorthands Feb 19, 2025
@saem saem merged commit 72ea385 into nim-works:main Feb 20, 2025
6 checks passed
@zerbina zerbina deleted the spec-minor-improvements branch April 2, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants