3 ms·
Rather than prose, the syntax for a machine-parsed data format is often defined as a formal grammar, using BNF or similar notation: https://en.wikipedia.org/wik
by mbrubeck 12y ago
Rather than prose, the syntax for a machine-parsed data format is often defined as a formal grammar, using BNF or similar notation: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form
For example, this is how CSS syntax is defined: http://www.w3.org/TR/CSS2/grammar.html http://www.w3.org/TR/CSS2/grammar.html
or JSON: http://json.org/ http://json.org/
or HTTP: https://www.ietf.org/rfc/rfc2616.txt https://www.ietf.org/rfc/rfc2616.txt