extended Backus-Naur form, aka extended Backus-Naur form, is an actively used grammar language created in 1977.

42Years Old 4,680Users 0Jobs

Example code from Linguist:

(*
  Source:  https://github.com/io7m/jsom0
  License: ISC
*)

digit_without_zero =
  "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;

digit =
  "0" | digit_without_zero ;

positive =
  digit_without_zero , { digit } ;

natural =
  "0" | positive ;

real =
  [ "-" ] , digit , [ "." , { digit } ] ;

Example code from Wikipedia:

function application = list( symbol, { expression } );
Edit

Last updated February 11th, 2019