-- json.sgr -- JSON grammar in SGDL (Source Grammar Definition -- Language) for the CCS toolchain. Compiling this grammar yields a -- JSON compiler that turns JSON inputs into CCS SCB binaries. -- Source: ccs_json build/json.sgr @ 5cd6d73 -- curated 2026-08-06; -- edits land in the source first. -- (c) 2026 BET THREE LLC. Published for use with the b3u.dev service -- under its Terms of Service; all rights reserved. (jsonp (jsonp ::= 0 = " METAACTBEG();" = value 0 = " METAACTEND();" = ) (value ::= object | array | str | num | trueLit | falseLit | nullLit ) (str ::= stringToken ) (num ::= integerToken ) (trueLit ::= 'true' ) (falseLit ::= 'false' ) (nullLit ::= 'null' ) (object ::= '{' [ members ] '}' ) (members ::= pair { restPair } ) (restPair ::= ',' pair ) (pair ::= str ':' value ) (array ::= '[' [ elements ] ']' ) (elements ::= value { restValue } ) (restValue ::= ',' value ) )