Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants