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

ivm: custom extrinsics #182

Merged
merged 8 commits into from
Feb 16, 2025
Merged

Conversation

FranchuFranchu
Copy link
Contributor

This is a PR that adds support for custom extrinsic functions and types to the IVM (#54 ).
It does not add reference-counted types that are automatically duplicated, or functions with more than 2 arguments. It also does not add loading from dylibs. However, it adds the necessary infrastructure in IVM to support those in the future.

Copy link
Member

@tjjfvi tjjfvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking great; just a few notes

@tjjfvi
Copy link
Member

tjjfvi commented Feb 16, 2025

the files in tests/programs/fail and tests/programs/fmt are intentionally left unformatted (they should be excluded in the dprint.json)

@tjjfvi tjjfvi changed the title Add custom extrinsics support to IVM ivm: custom extrinsics Feb 16, 2025
Copy link
Member

@tjjfvi tjjfvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great; thanks!

@tjjfvi tjjfvi enabled auto-merge February 16, 2025 14:50
@tjjfvi tjjfvi added this pull request to the merge queue Feb 16, 2025
Merged via the queue into VineLang:main with commit 3ceb191 Feb 16, 2025
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.

2 participants