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

Merge container support branch into main #15

Merged
merged 11 commits into from
Nov 5, 2023
Merged

Merge container support branch into main #15

merged 11 commits into from
Nov 5, 2023

Conversation

sgraham
Copy link
Owner

@sgraham sgraham commented Nov 5, 2023

No description provided.

This allows a sort-of method calling style, and is "generalized" in that
it follows through pointers if necessary. This is intended to support
container types, but that will come later.
Reported upstream at rui314/chibicc#135

TOMBSTONE entries cannot be reused, or subsequent probes can be
incorrect.
Only vec and map currently, and the instantiation is incorrect in that
all template arguments must be a single token (!).

So, $vec(int) works, but $vec(char*) will do strange things.
@sgraham
Copy link
Owner Author

sgraham commented Nov 5, 2023

Support for containers and the first two (vec/map) implemented for #5.

@sgraham sgraham merged commit a83b0ee into main Nov 5, 2023
6 checks passed
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.

None yet

1 participant