The JSON grammar rules from RFC 8259.
The file
The JSON grammar rules are well-formed.
We use ACL2::add-const-to-untranslate-preprocess to keep this constant unexpanded in output.
Function:
(defun untranslate-preprocess-*grammar-rules* (acl2::term acl2::wrld) (if (equal acl2::term (list 'quote *grammar-rules*)) '*grammar-rules* (abnf::untranslate-preprocess-*grammar* acl2::term acl2::wrld)))
Theorem:
(defthm rulelist-wfp-of-*grammar-rules* (abnf::rulelist-wfp *grammar-rules*))