Skip to content

Hex and string built-ins - #134

Draft
gzanitti wants to merge 49 commits into
quilt:masterfrom
gzanitti:hex_and_string
Draft

Hex and string built-ins#134
gzanitti wants to merge 49 commits into
quilt:masterfrom
gzanitti:hex_and_string

Conversation

@gzanitti

@gzanitti gzanitti commented Oct 9, 2023

Copy link
Copy Markdown
Contributor

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