Skip to content

integer v2 PR - #4

Draft
cheesycod wants to merge 19 commits into
mluau:masterfrom
cheesycod:master
Draft

integer v2 PR#4
cheesycod wants to merge 19 commits into
mluau:masterfrom
cheesycod:master

Conversation

@cheesycod

@cheesycod cheesycod commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This is very much a draft for what integers w/ arbitrary precision integers + subtyped integers w/ automatic promotion between untyped integers and arbitrary precision integers would look like. It's not complete (lacks the entire integer lib from RFC) as well as the integer fallback shim.

As a disclaimer: Antigravity (w/ gemini 3.1 pro) along with a lot of manual prompting+code review was used to make this PR.

@deviaze

deviaze commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

need rename to integer as discussed on discord; workable since replacement for Luau integer type

@deviaze deviaze linked an issue Jul 24, 2026 that may be closed by this pull request
@cheesycod

Copy link
Copy Markdown
Contributor Author

need rename to integer as discussed on discord; workable since replacement for Luau integer type

Yeah, the rename is what I’m doing next/right now as well as better docs on the feature (including typed integers from u8->u64)

@cheesycod cheesycod changed the title Bigint draft PR integer v2 PR Jul 24, 2026
@cheesycod

Copy link
Copy Markdown
Contributor Author

With basic semantics ready, this pr is pending a big rework to include the integer library etc

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.

Add signed and unsigned integer primitives

2 participants