Give every table its path in one pass, name it in every message, read the layout probes through predicates, and leave the shell to the CLI

This commit is contained in:
2026-09-18 20:02:08 +02:00
parent 2d08bf4b32
commit d5d9c2655e
7 changed files with 72 additions and 37 deletions
+7
View File
@@ -112,6 +112,13 @@ func splitArgs(s string) []string {
return append(args, strings.TrimSpace(s[start:]))
}
func plural(n int) string {
if n == 1 {
return ""
}
return "s"
}
// checkFunc validates a function token at compile time: well-formed, naming a
// known builtin, with the arg count that builtin takes and args its check accepts.
// fields is passed through for the one builtin (calc) that validates against them.