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

Reference Types #154

Open
sezna opened this issue Aug 18, 2021 · 1 comment
Open

Reference Types #154

sezna opened this issue Aug 18, 2021 · 1 comment
Labels
big this task is hard and will take a while compiler General compiler. Should eventually become more specific as the issue is triaged enhancement New feature or request language feature Core language features visible to end users P: low

Comments

@sezna
Copy link
Contributor

sezna commented Aug 18, 2021

The ref and deref keywords should be used to construct reference types and dereference reference types. This issue involves the parsing, type checking, and code generation of reference types.

@sezna sezna added enhancement New feature or request compiler General compiler. Should eventually become more specific as the issue is triaged labels Aug 18, 2021
@sezna
Copy link
Contributor Author

sezna commented Sep 21, 2021

In #236, we made the ref and deref keywords require a space after them in the grammar. This is not elegant and of course offends our delicate programmer sensibilities. This issue should also encapsulate removing that space by either:

  1. adding a little lexer pass afterwards that handles it
  2. switching to &* instead of ref/deref
  3. something else??

@sezna sezna added the big this task is hard and will take a while label Sep 22, 2021
@mohammadfawaz mohammadfawaz added the language feature Core language features visible to end users label Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big this task is hard and will take a while compiler General compiler. Should eventually become more specific as the issue is triaged enhancement New feature or request language feature Core language features visible to end users P: low
Projects
Status: Todo
Development

No branches or pull requests

2 participants