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

Implement remaining hvm1 builtins. #236

Merged
merged 6 commits into from
Mar 18, 2024

Conversation

FranchuFranchu
Copy link
Contributor

@FranchuFranchu FranchuFranchu commented Mar 13, 2024

I wrote implementations for HVM.query, HVM.store, and HVM.load using a new API for defs that exists in a hvm-core branch. I'm creating a PR mostly to get feedback on whether the API is high-level and practical enough for hvm-lang.

If it isn't, we can postpone this until we have an API in hvm-core that's higher-level. (it'd likely end up looking like rlua's API, with lifetimed Ports which would allow us to make it completely safe).

Copy link

This pull request has been linked to Shortcut Story #509: Implement remaining hvm1 builtins in hvm2.

Copy link
Member

@developedby developedby left a comment

Choose a reason for hiding this comment

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

Remove the local test files

@developedby
Copy link
Member

We got read/write from files and read/write from stdio. I think that's enough for most simple uses.
Maybe a panic/exit function in case something goes wrong?

@FranchuFranchu FranchuFranchu force-pushed the feature/sc-509/implement-hvm1-builtins branch from 1499cb7 to e6b456f Compare March 13, 2024 20:08
@FranchuFranchu FranchuFranchu force-pushed the feature/sc-509/implement-hvm1-builtins branch from c118c24 to 4572062 Compare March 15, 2024 19:02
@imaqtkatt imaqtkatt added this pull request to the merge queue Mar 18, 2024
Merged via the queue into main with commit 90f718d Mar 18, 2024
5 checks passed
@imaqtkatt imaqtkatt deleted the feature/sc-509/implement-hvm1-builtins branch March 18, 2024 17:55
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.

3 participants