Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rhnvrm
Copy link
Collaborator

@rhnvrm rhnvrm commented Aug 11, 2025

  • 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.

@rhnvrm rhnvrm requested review from Copilot and knadh August 11, 2025 11:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

- 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.
@knadh knadh merged commit 97b6d9b into knadh:master Aug 22, 2025
2 checks passed
@knadh knadh added the enhancement New feature or request label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants