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

Cast builtin and syntax refinements #25

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Cast builtin and syntax refinements #25

merged 1 commit into from
Dec 27, 2024

Conversation

utkn
Copy link
Contributor

@utkn utkn commented Dec 26, 2024

This PR adds the cast builtin which makes use of the CastTp typeclass. The following modifications are also made at the syntax side:

  • mkBuiltin dynamically generates the corresponding Builtin reference
  • mkStructDefIdent introduced so that struct definitions do not collide with user definitions
  • Syntax regarding to structs are updated.

@utkn utkn added the enhancement New feature or request label Dec 26, 2024
@utkn utkn self-assigned this Dec 26, 2024
@utkn utkn changed the title Cast builtin Cast builtin and struct refinements Dec 26, 2024
@utkn utkn marked this pull request as ready for review December 26, 2024 13:07
@utkn utkn requested a review from kustosz December 26, 2024 13:07
@utkn utkn mentioned this pull request Dec 26, 2024
@utkn utkn changed the title Cast builtin and struct refinements Cast builtin and syntax refinements Dec 26, 2024
@utkn utkn merged commit 0b7d5f3 into main Dec 27, 2024
6 checks passed
@utkn utkn deleted the us/cast-builtin branch December 27, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants