apple / apple/pkl

Arbitrarily sized ints

Open
#1,157 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

The current `Int` is an int64. We should support ints that are arbitrarily sized.

One open question here is: should Pkl's numbers be arbitrarily sized? Or should we introduce a new type, e.g. `BigInt`?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the current Int representation and the language's numeric-type design. Resolve whether Pkl numbers should become arbitrarily sized or whether a separate BigInt type is needed. Done means the design decision is made and arbitrary-sized integer support is specified accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.