-
Notifications
You must be signed in to change notification settings - Fork 31
Add mojo-toml v0.5.0 - Native TOML parser & writer #193
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
Conversation
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)
|
v 0.5.0 has now been released |
|
I have fixed the pre-commit issues and re-submitted. Please note that v 0.5.0 is the latest release of mojo-toml. |
|
Hi @bgreni! 👋 Apologies for the confusion with this PR - I'm still learning the GitHub PR workflow! I've (hopefully) now updated everything properly: What I've done:✅ Fixed pre-commit hooks - All checks now pass (trailing whitespace, end-of-file) Changes since original PR (v0.3.0 → v0.5.0):
Links:
The package is significantly more feature-complete now than when I first submitted the PR. All tests pass, pre-commit hooks pass, and it's ready for review! Let me know if you need anything else or if I've messed up the PR workflow again. 😅 Thanks for your patience! |
|
Hey sorry for the wait, reviewing these packages seems to be a largely community driven effort at the moment, and I've been fairly busy as of late. Could you please add an image file to be displayed on the max builds website? ex: https://github.com/modular/modular-community/blob/main/recipes/decimojo/image.jpeg We also ask that you enabled CodeQL scanning on your repository and add the badge to you README https://docs.github.com/en/code-security/concepts/code-scanning/codeql/about-code-scanning-with-codeql |
|
@bgreni I've addressed both requests:
Both changes are now live in the main branch. Ready for re-review/merge. Thank you! |
|
Closing this PR in favor of a fresh PR with version 0.5.1. The original PR was based on an older branch structure and was causing issues with displaying the newly added package image. Changes in new PR (coming next):
Thank you for the review feedback @bgreni |
Add mojo-toml v0.5.0 - TOML 1.0 Complete + Partial 1.1
Adds mojo-toml - a native TOML parser and writer for Mojo with zero Python dependencies.
Features
TOML 1.0 - Fully Compliant:
[[section]]syntax0xDEAD, octal0o755, binary0b1101)TOML 1.1 - Partial Support:
\xHHescape sequences (codepoints 0-255)\eescape for escape characterPerformance:
Repository
Testing
Package includes
test_package.mojowhich validates:All 168 tests pass in the source repository.
Installation
Users can install via:
Or via modular-community once merged:
Sponsored by DataBooth - Building high-performance data and AI services with Mojo