Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1b118adbe | |||
| a95fed36dc | |||
| 70f3968fb3 |
@@ -16,6 +16,7 @@ of stricter parsers of similar form.
|
|||||||
|
|
||||||
[godoc-lexer]: https://pkg.go.dev/asciigoat.org/core/lexer
|
[godoc-lexer]: https://pkg.go.dev/asciigoat.org/core/lexer
|
||||||
[godoc-parser-parser]: https://pkg.go.dev/asciigoat.org/ini/parser#Parser
|
[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
|
[wikipedia-dosini]: https://en.wikipedia.org/wiki/INI_file
|
||||||
|
|
||||||
@@ -25,6 +26,14 @@ of stricter parsers of similar form.
|
|||||||
[`asciigoat`'s lexer][godoc-lexer] to process an `INI`-style document
|
[`asciigoat`'s lexer][godoc-lexer] to process an `INI`-style document
|
||||||
emiting tokens and errors via callbacks.
|
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
|
## Other Implementations
|
||||||
|
|
||||||
* [gcfg](https://pkg.go.dev/gopkg.in/gcfg.v1)
|
* [gcfg](https://pkg.go.dev/gopkg.in/gcfg.v1)
|
||||||
|
|||||||
Reference in New Issue
Block a user