-
Notifications
You must be signed in to change notification settings - Fork 5k
Rewrite the TOML parser for v1.1.0 conformance #32953
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
b5eedc5
Add official toml-lang/toml-test conformance suite for TOML
dylan-conway d7f449f
Tighten TOML conformance suite assertions
dylan-conway ddb5799
Target TOML v1.1.0 in the conformance suite
dylan-conway f09d4c5
Rewrite the TOML parser for v1.1.0 conformance
dylan-conway e1ae2e5
Fix clippy needless_borrows_for_generic_args in TOML parser
dylan-conway dbee64c
Test invalid-encoding TOML inputs as raw bytes; update types and docs
dylan-conway 730730b
Add hand-written TOML API tests; name end-of-file in parse errors
dylan-conway 2355ad2
Test recursion limits on deep dotted keys and table headers
dylan-conway ebd56aa
Calibrate recursion-test depths for release builds and test speed
dylan-conway a22d259
Name the fix when a TOML value is an unquoted string
dylan-conway 1d47354
Address review: inline-table keyval-sep, integer diagnostics, types
dylan-conway 6212898
Pin lone-surrogate semantics at the TOML.parse input boundary
dylan-conway 71733f1
Borrow source bytes for escape-free basic strings
dylan-conway 3832785
Address review nits: redacted message suffix, literal-string dedup
dylan-conway ffe7732
Escape Windows backslashes in test bunfig cache paths
dylan-conway 20a6024
docs: drop redundant integer callout from the conformance sentence
dylan-conway 4b47b95
Restructure the TOML parser into a token-based scanner/parser
dylan-conway 8c9e842
[autofix.ci] apply automated fixes
autofix-ci[bot] 0c6dd68
Address review: CRLF diagnostics, inf/nan bare words, test gaps
dylan-conway c4c02b0
Merge remote-tracking branch 'origin/main' into claude/toml-test-suite
dylan-conway 913de47
Add TOML.stringify
dylan-conway ee8f2a5
[autofix.ci] apply automated fixes
autofix-ci[bot] 948224d
Address review: +0 sign fix, aot diagnostics, dead redact hook
dylan-conway aeb9ff4
Merge branch 'claude/toml-test-suite' of github.com:oven-sh/bun into …
dylan-conway 684109f
TOML.stringify: format Dates through JSC's toISOString binding
robobun dc048a4
Use the TOML 1.1 spec's H notation for Unicode escapes in docs and co…
robobun b891a33
TOML.stringify: declare the return type as string | undefined
robobun a61df4c
test: drop two redundant as-any casts on TOML.stringify calls
robobun 0a80949
Merge remote-tracking branch 'origin/main' into claude/toml-test-suite
robobun 69860e5
toml: generate the --check comparand beside the committed suite
robobun de8961d
toml: build the deep dotted-key test input with Buffer.alloc
robobun 0476d40
ini: drop the dangling MAX_DOTTED_KEY_SEGMENTS cross-reference
robobun 59d86a7
toml: add stringify(parse) round-trip coverage for every type
robobun 38cfba6
Merge origin/main into claude/toml-test-suite
robobun 00e1edb
Merge origin/main into claude/toml-test-suite
robobun dbac342
Merge origin/main into claude/toml-test-suite
robobun 2efa976
Merge origin/main into claude/toml-test-suite
robobun aba8757
Merge origin/main (ancestry link; file changes are in the preceding c…
robobun 3b9c945
Merge branch 'main' into claude/toml-test-suite
dylan-conway 4230961
paths: inline the now-dead result binding in normalize_buf
robobun 71edf45
toml: rename subarray-offset padding bytes to avoid the hygiene-gate …
robobun ace42f9
Merge origin/main into claude/toml-test-suite
robobun 71f6523
Merge branch 'main' into claude/toml-test-suite
dylan-conway 970d41b
docs: use ASCII hyphen-minus in the TOML integer range
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.