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

Remove all of the old primitive code, and use same approach as for safe prims #51

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 11, 2024

This simplifies things a bit, makes them more uniform, and avoids the use of pointers to member functions, which was not strictly necessary.

The one drawback however is that now empty primitives do not have access to their symbol directly. I could work around this to get the symbol, based on the current send bytecode, which is globally accessible, but for the moment, I just print the stack trace instead.

Should be fine for debugging, and not really relevant at this point since the core-lib is rather stable.

@smarr smarr merged commit 39b2f00 into SOM-st:master Aug 11, 2024
18 checks passed
@smarr smarr deleted the refactor-prims branch August 11, 2024 12:15
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