aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-10-28 20:34:39 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-10-28 20:34:39 -0700
commit2ffdc8b3ded7173a01a91359b730064f3b4ab17c (patch)
tree7110d3c8be27f60f35f72f6009b3016fed018720
parente084ac2b84fac3b5ae63de15080b863d31f5b2fc (diff)
downloadccl-2ffdc8b3ded7173a01a91359b730064f3b4ab17c.tar.zst
Rename to ccl
It stands for "cute configuration language," but idk if that's really important
-rw-r--r--README.md5
-rw-r--r--ccl.go10
-rw-r--r--ccl_test.go2
-rw-r--r--go.mod2
-rw-r--r--lexer.go2
5 files changed, 10 insertions, 11 deletions
diff --git a/README.md b/README.md
index 2a38022..28ba7fa 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# asspb, the worst human-friendly configuration language
+# ccl, 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...
@@ -21,6 +21,5 @@ how hard can writing a recursive-descent parser be...
}
}
-See
-[https://pkg.go.dev/roseh.moe/pkg/asspb](https://pkg.go.dev/roseh.moe/pkg/asspb)
+See [https://pkg.go.dev/roseh.moe/pkg/ccl](https://pkg.go.dev/roseh.moe/pkg/ccl)
for the full language spec.
diff --git a/ccl.go b/ccl.go
index 926d78b..140c07b 100644
--- a/ccl.go
+++ b/ccl.go
@@ -2,8 +2,8 @@
// Mom: no we have textproto at home
// textproto at home:
//
-// The asspb language has similar semantics to JSON, the only exception being
-// the lack of null.
+// The ccl language has similar semantics to JSON, the only exception being the
+// lack of null.
//
// # Comments
//
@@ -156,7 +156,7 @@
// # Disclaimer
//
// This package is still experimental, expect breaking changes.
-package asspb
+package ccl
import (
"bytes"
@@ -699,7 +699,7 @@ func unpackStruct(out reflect.Value, fieldMap map[structField]int, msg map[strin
return nil
}
-// Unmarshal parses a asspb message and writes the result into v. v must be a
+// Unmarshal parses a ccl message and writes the result into v. v must be a
// non-nil pointer to a struct.
//
// Unmarshal accepts a top-level message, which is equivalent to the "message"
@@ -708,7 +708,7 @@ func unpackStruct(out reflect.Value, fieldMap map[structField]int, msg map[strin
// key1: "val1"
// key2: "val2"
//
-// The exact semantics of which asspb types map to which Go types is a bit
+// The exact semantics of which ccl types map to which Go types is a bit
// complicated and I don't feel like writing out all the rules, so suffice it
// to say that the usual stuff should work. As a special case, a []byte field
// expects a base64-encoded string.
diff --git a/ccl_test.go b/ccl_test.go
index fdf8b9b..4716c5e 100644
--- a/ccl_test.go
+++ b/ccl_test.go
@@ -1,4 +1,4 @@
-package asspb
+package ccl
import (
"fmt"
diff --git a/go.mod b/go.mod
index 36c7b39..613e3e9 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module roseh.moe/pkg/asspb
+module roseh.moe/pkg/ccl
go 1.24
diff --git a/lexer.go b/lexer.go
index 4fc6ca4..edc2444 100644
--- a/lexer.go
+++ b/lexer.go
@@ -1,4 +1,4 @@
-package asspb
+package ccl
import (
"iter"