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

Hex and string built-ins #134

Draft
wants to merge 49 commits into
base: master
Choose a base branch
from
Draft

Conversation

gzanitti
Copy link
Contributor

@gzanitti gzanitti commented Oct 9, 2023

This PR implements the two built-ins mentioned in issue #106 (%hex(...) & %string(...)). Since it's based on the reimplementation of the backend introduced in PR #133, I'm keeping this PR as a draft until #133 is merged.

The built-in %string(...) puts the full string into the bytecode without regard to length. Please let me know if you want to use a different layout.

…is messy and there are several hacks I need to remove. Also I should write a more rusty code.
…the code should be optimized, but the general idea seems to work.
…ressing some of the changes proposed by Sam.
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