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

feat: Bytes #76

Merged
merged 8 commits into from
Feb 20, 2023
Merged

feat: Bytes #76

merged 8 commits into from
Feb 20, 2023

Conversation

iFrostizz
Copy link
Contributor

Implementing BytesLib in Huff

@iFrostizz
Copy link
Contributor Author

is for #25

@devtooligan
Copy link
Collaborator

this looks great to me, really cool actually. would like to get another set of eyes on this before merging.

#88 (comment)

Copy link
Collaborator

@jtriley-eth jtriley-eth left a comment

Choose a reason for hiding this comment

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

Overall, core logic looks good. Most comments are regarding comments, formatting, and minor changes.

However, the macro immediate vs stack arguments will require a few changes to the control flow, namely by changing <immediate_name> to dupN where N is the stack depth of the macro arguments (more details in the comments).

src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
src/data-structures/Bytes.huff Outdated Show resolved Hide resolved
Copy link
Collaborator

@jtriley-eth jtriley-eth left a comment

Choose a reason for hiding this comment

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

lgtm 🤘

@devtooligan devtooligan merged commit ec5281c into huff-language:dev Feb 20, 2023
@refcell refcell mentioned this pull request Mar 20, 2023
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