aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2025-10-30Don't allocate an intermediate map[string]anyRose Hogenson1-200/+159
Not too bad goos: linux goarch: amd64 pkg: roseh.moe/pkg/ccl cpu: AMD Ryzen 9 5900X 12-Core Processor │ baseline.txt │ mapn't.txt │ │ sec/op │ sec/op vs base │ Parse-24 8.880µ ± 0% 7.885µ ± 0% -11.21% (p=0.000 n=20)
2025-10-30Allow all values to be pointersRose Hogenson2-9/+37
This solves the issue of whether the field was populated or not, at the expense of some horrible memory patterns. But on the plus side it doesn't require any extra API so we might as well allow it.
2025-10-30Remove the regexesRose Hogenson3-155/+236
Wow it doesn't look good for regex goos: linux goarch: amd64 pkg: roseh.moe/pkg/ccl cpu: AMD Ryzen 9 5900X 12-Core Processor │ baseline.txt │ regexn't.txt │ │ sec/op │ sec/op vs base │ Lex-24 8.625µ ± 1% 1.429µ ± 0% -83.43% (p=0.000 n=20) Parse-24 18.305µ ± 0% 8.856µ ± 0% -51.62% (p=0.000 n=20) geomean 12.57µ 3.557µ -71.69%
2025-10-30Add benchmarkRose Hogenson1-0/+57
2025-10-29Fix repeated fields behaviorRose Hogenson2-28/+66
2025-10-28Rename to cclRose Hogenson5-11/+10
It stands for "cute configuration language," but idk if that's really important
2025-10-28Rename files to cclRose Hogenson2-0/+0
2025-10-28Rework struct unpackingRose Hogenson2-151/+528
2025-10-27Build the field map only onceRose Hogenson2-43/+53
2025-10-27Use struct reflection instead of relying on JSONRose Hogenson2-214/+356
This breaks backwards compatibility completely, of course. I wanted to rename the package anyway.
2025-10-26Numbers must be separated from field namesRose Hogenson1-0/+8
Another technically backwards-incompatible change, but it's important to avoid weird edge cases in lexing.
2025-10-26Fix typoRose Hogenson1-1/+1
2025-10-26Separate the lexerRose Hogenson3-117/+228
2025-10-26Improve error messagesRose Hogenson2-13/+53
2025-10-26Strings must be valid UTF-8Rose Hogenson2-15/+43
2025-10-26Refine numeric literal syntaxRose Hogenson2-6/+36
Leading zeros are no longer permitted in decimal literals, which is technically a backwards-incompatible change, but I consider it to be something like a bug fix. Anyway, the project is unlikely to have any users that would be impacted.
2025-10-25Make sure to remove \r\n as well as \n for WindowsRose Hogenson2-2/+8
2025-10-25Downgrade required Go versionRose Hogenson1-1/+1
2025-10-25Improve test coverageRose Hogenson2-1/+5
2025-10-25Some small improvementsRose Hogenson2-34/+73
2025-10-25Add documentationRose Hogenson2-3/+148
2025-10-25Add support for C-style commentsRose Hogenson2-1/+9
2025-10-25Remove some accidental debugging linesRose Hogenson1-2/+0
2025-10-25Initial commitRose Hogenson5-0/+1219