Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements HUML (Human-Oriented Markup Language) parser support for the koanf configuration library. HUML provides a cleaner, more human-readable alternative to TOML with intuitive syntax using :: for arrays/objects and : for scalars.
Key changes:
- Add complete HUML parser implementation with comprehensive test coverage
- Include example usage demonstrating HUML configuration loading
- Update project documentation and workspace configuration to include HUML support
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| parsers/huml/huml.go | Implements the HUML parser with Unmarshal/Marshal methods and type conversion utilities |
| parsers/huml/huml_test.go | Comprehensive test suite covering various HUML syntax scenarios and round-trip testing |
| parsers/huml/go.mod | Module definition with Go 1.24.4 and HUML library dependency |
| mock/mock.huml | Example HUML configuration file demonstrating syntax features |
| examples/read-huml/main.go | Working example showing how to use the HUML parser with koanf |
| README.md | Updates parser documentation to include HUML in the available parsers list |
| go.work | Adds HUML parser to workspace configuration and updates Go version |
| go.work.sum | Updates workspace dependency checksums |
01668cd to
5f57308
Compare
- Implement HUML (Human-Oriented Markup Language) parser for koanf - Add comprehensive tests with various HUML syntax scenarios - Include example usage in examples/read-huml - Add HUML mock configuration file - Update README.md to include HUML in parser listings - Add HUML to workspace configuration HUML provides a cleaner, more human-readable alternative to TOML with intuitive syntax using :: for arrays/objects and : for scalars.
5f57308 to
0d5edcc
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
HUML provides a cleaner, more human-readable alternative to TOML with intuitive syntax using :: for arrays/objects and : for scalars.