{"id":883,"date":"2026-11-10T05:09:51","date_gmt":"2026-11-10T05:09:51","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=backus-naur-form"},"modified":"2026-11-10T08:03:25","modified_gmt":"2026-11-10T08:03:25","slug":"backus-naur-form","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=backus-naur-form","title":{"rendered":"Backus-Naur Form"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">BNF defines the rules for valid code or data using symbols and replacement rules. Language designers use it to specify syntax unambiguously.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Precise specifications help developers build parsers and validators that handle data correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A developer used a BNF-style grammar to define valid formats for KRA PIN and invoice numbers in a validation tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Clear specifications prevent costly misunderstandings between teams.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A notation for precisely describing the grammar of programming languages and data formats.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[7],"dc_topic":[34],"class_list":["post-883","dc_term","type-dc_term","status-publish","hentry","dc_letter-b","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/883\/revisions"}],"predecessor-version":[{"id":1290,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/883\/revisions\/1290"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=883"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=883"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}