3 Commits

Author SHA1 Message Date
amery 226323bbc5 Unmarshal: WIP
Signed-off-by: Alejandro Mery <amery@jpi.io>
2023-08-31 17:13:38 +00:00
amery a29ff4e522 Decoder: WIP
Signed-off-by: Alejandro Mery <amery@jpi.io>
2023-08-31 17:13:38 +00:00
amery 98f30cae6a basic: WIP
Signed-off-by: Alejandro Mery <amery@jpi.io>
2023-08-31 17:13:38 +00:00
-9
View File
@@ -16,7 +16,6 @@ of stricter parsers of similar form.
[godoc-lexer]: https://pkg.go.dev/asciigoat.org/core/lexer
[godoc-parser-parser]: https://pkg.go.dev/asciigoat.org/ini/parser#Parser
[godoc-basic-parser]: https://pkg.go.dev/asciigoat.org/ini/basic#Decode
[wikipedia-dosini]: https://en.wikipedia.org/wiki/INI_file
@@ -26,14 +25,6 @@ of stricter parsers of similar form.
[`asciigoat`'s lexer][godoc-lexer] to process an `INI`-style document
emiting tokens and errors via callbacks.
## Basic Parser
[`basic.Decode()`][godoc-basic-parser] provies a one-shot decoder
that returns a structured document for you to post-process.
To allow for correct handling of repetition of section and field names downstream, it uses arrays instead of maps, and makes almost no judgment
about what section or field names are acceptable.
## Other Implementations
* [gcfg](https://pkg.go.dev/gopkg.in/gcfg.v1)