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

Rework TOML token parsing #100

Merged
merged 27 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e44d549
Add bare_key_chars macro to toml
lkirkwood Apr 29, 2024
5d37f89
Added toml test for unquoted keys
lkirkwood Apr 29, 2024
56e4ad6
Match toml chars as u32 + remove alnum match logic
lkirkwood Apr 29, 2024
a039298
Restore original toml number parsing logic
lkirkwood Apr 29, 2024
84a7a05
Add allow for overlapping toml char pattern lint
lkirkwood Apr 29, 2024
c3fabf8
Add toml parse_bare_key method
lkirkwood Apr 29, 2024
612ab3c
Change language from bare_key to ident in toml
lkirkwood Apr 29, 2024
e161428
Updated toml key test case
lkirkwood Apr 29, 2024
41fa5f2
Implemented toml parse_ident
lkirkwood Apr 29, 2024
fe27c84
Add toml nan/inf todo and removed unused token
lkirkwood Apr 29, 2024
5ba789b
Impl into string for toml token
lkirkwood Apr 29, 2024
cd4881c
Reordered toml number parsing conditionals
lkirkwood Apr 29, 2024
b18d925
Cleaned up some toml match statements
lkirkwood Apr 29, 2024
a9962c1
Formatted toml token comments and rename macro
lkirkwood Apr 29, 2024
63e069b
Moved toml number parsing into separate function
lkirkwood Apr 29, 2024
ba568f9
Added guard for ident starting with num toml
lkirkwood Apr 29, 2024
25cd040
Return err if num contains illegal chars toml
lkirkwood Apr 29, 2024
f958591
Added toml ident_term_chars macro
lkirkwood Apr 29, 2024
181f74a
Fix not pushing chars during inf/nan toml parse
lkirkwood Apr 29, 2024
16e37a2
Start using ident_term_chars to detect inf/nan
lkirkwood Apr 29, 2024
1633470
Start using ident_term_chars to detect toml idents
lkirkwood Apr 29, 2024
4967fea
Add close block char to toml ident_term_chars
lkirkwood Apr 29, 2024
94174fa
Updated toml key test
lkirkwood Apr 29, 2024
4eb4037
Replaced tomltok into string with from impl
lkirkwood Apr 29, 2024
73c9917
Removed unnecessary return
lkirkwood Apr 29, 2024
994dbad
Fixed toml no_std test
lkirkwood Apr 30, 2024
3a57d03
Always match toml chars as char not u32
lkirkwood Apr 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading