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

Define pointer templates #103

Merged
merged 3 commits into from
Sep 28, 2024
Merged

Define pointer templates #103

merged 3 commits into from
Sep 28, 2024

Conversation

gnidan
Copy link
Member

@gnidan gnidan commented Aug 28, 2024

This PR introduces pointer templates, allowing the re-use of similar pointers without requiring that compilers output full pointer representations for every re-use.

This uses the existing pointer expression system to define pointer templates essentially as lambda functions.

This PR updates the schemas, the spec website, and adds support for pointer templates in the reference implementation.

@gnidan gnidan requested a review from ekpyron August 29, 2024 14:30
@gnidan gnidan force-pushed the pointer-templates branch 2 times, most recently from c1ec904 to 8e983c7 Compare August 30, 2024 11:23
@gnidan gnidan removed the request for review from ekpyron August 30, 2024 13:28
@gnidan gnidan force-pushed the pointer-templates branch 5 times, most recently from 2239cf6 to 3cadd10 Compare September 28, 2024 01:29
@gnidan gnidan marked this pull request as ready for review September 28, 2024 01:35
@gnidan gnidan merged commit fd9e14c into main Sep 28, 2024
2 checks passed
@gnidan gnidan deleted the pointer-templates branch September 28, 2024 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant