diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-25 16:12:21 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-25 16:12:21 -0700 |
| commit | 4a3a8a6bea2226a7fa2dedd063886453765ba9bf (patch) | |
| tree | 60b7e9aa6d7eb602935c0548a095d8cbe5c2a6ab /README.md | |
| parent | af56dc0cb5b3a0bbc017beef2b5dfe74e58b9a25 (diff) | |
| download | ccl-4a3a8a6bea2226a7fa2dedd063886453765ba9bf.tar.zst | |
Add documentation
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2a38022 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# asspb, the worst human-friendly configuration language + +Don't like YAML? TOML's nested tables make your head hurt? Give me a few hours, +how hard can writing a recursive-descent parser be... + +## Examples + + # nginx config or something + server { + listen: "0.0.0.0:80" + listen: "[::0]:80" + location { + path: "/" + return: "301 https://$host$request_uri" # redirect to https + } + location { + path: "/.well-known/acme-challenge/" + root: "/var/lib/acme/acme-challenge" + auth_basic: off + auth_request: off + } + } + +See +[https://pkg.go.dev/roseh.moe/pkg/asspb](https://pkg.go.dev/roseh.moe/pkg/asspb) +for the full language spec. |
