Commit 3d71583
Add mojo-toml v0.5.1 - Native TOML parser & writer (#196)
* Add mojo-toml v0.3.0 - Native TOML parser for Mojo
Package: mojo-toml v0.3.0
A native TOML 1.0 parser for Mojo with zero Python dependencies.
Features:
- Complete TOML 1.0 syntax support
- 96 comprehensive tests ensuring reliability
- Nested tables, dotted keys, duplicate detection
- Clear error messages with line/column context
- Performance: 26μs for simple parses, 2ms for real files
Repository:
- GitHub: https://github.com/DataBooth/mojo-toml
- Release: https://github.com/DataBooth/mojo-toml/releases/tag/v0.3.0
- License: MIT
Testing:
Package includes test_package.mojo which validates:
- Simple key-value parsing
- Integer and array parsing
- Nested table structures
- Dotted key functionality
All 96 tests pass in the source repository.
Sponsored by DataBooth (https://www.databooth.com.au/posts/mojo)
* Update mojo-toml to v0.5.0
Updates mojo-toml from v0.3.0 to v0.5.0 with full TOML 1.0 compliance
and partial TOML 1.1 support.
Major changes since v0.3.0:
- Complete TOML 1.0 specification (array-of-tables, alt number bases)
- Partial TOML 1.1 support (\xHH and \e escapes)
- 168 tests (up from 96)
- Comprehensive benchmarking system
- Pre-commit hooks fixed
- TOML writer with round-trip fidelity
Release: https://github.com/DataBooth/mojo-toml/releases/tag/v0.5.0
Co-Authored-By: Warp <agent@warp.dev>
* Add package image for builds.modular.com display per reviewer request
* Bump version to 0.5.1 with CodeQL and package image
* Fix mojo-toml recipe: update tag to v0.5.1 and license to Apache-2.0
- Update source tag from v0.5.0 to v0.5.1
- Update license from MIT to Apache-2.0 (matches upstream change)
Co-Authored-By: Warp <agent@warp.dev>
* Standardize mojo-toml to use mojo_version context with 0.25.7
- Add context with version and mojo_version variables
- Change from 'mojo >=25.1' to 'mojo-compiler =0.25.7'
- Use pin_compatible() for runtime dependency
Co-Authored-By: Warp <agent@warp.dev>
* Fix mojo-toml recipe schema errors
- Change 'test:' to 'tests:' with script block
- Change 'doc_url' to 'documentation'
- Change 'dev_url' to 'repository'
Fixes recipe parser errors per modular-community schema.
Co-Authored-By: Warp <agent@warp.dev>
* Update mojo-toml recipe to Mojo 0.26.1
Co-Authored-By: Warp <agent@warp.dev>
---------
Co-authored-by: Warp <agent@warp.dev>
Co-authored-by: Tiyagora <98420273+yetalit@users.noreply.github.com>1 parent d2e664a commit 3d71583
3 files changed
Lines changed: 119 additions & 0 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments