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

chore(stdlib)!: Update Buffer/Bytes to use new integer types #1704

Merged
merged 4 commits into from
Mar 2, 2023

Conversation

alex-snezhko
Copy link
Member

Closes #1701, also adds functions for Uint32/Uint64

Also fixes some short int parsing behavior that I felt was simple enough to also include in this PR (allowing 0xffs for instance)

@phated
Copy link
Member

phated commented Feb 28, 2023

Looks like the compiler changes need to be formatted

@ospencer
Copy link
Member

ospencer commented Mar 2, 2023

Looks like you need another compiler format.

Copy link
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

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

Looks great!

@ospencer ospencer added this pull request to the merge queue Mar 2, 2023
Merged via the queue into grain-lang:main with commit d508e5a Mar 2, 2023
av8ta pushed a commit to av8ta/grain that referenced this pull request Apr 11, 2023
…ang#1704)

* chore(stdlib)!: Update Buffer/Bytes to use new integer types

* format literals.re

* account for octal, comment wording change

* format code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Update bytes/buffer to return (u)int8 and (u)int16 where appropriate
3 participants