Udvidet Backus-Naur form: Forskelle mellem versioner

Content deleted Content added
Linje 34:
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
 
symbol_no_quotes_questionmark =
"[" | "]" | "{" | "}" | "(" | ")" | "<" | ">"
| "=" | "|" | "." | "," | ";" ;
 
visible_characters_no_quotes_questionmark = letter | digit | symbol_no_quotes | " " | "_" ;
Line 43 ⟶ 44:
identifier = letter , { letter | digit | "_" } ;
 
free-text-special-terminal =
"?" , ( symbol_no_quotes_questionmark | "'" | '"' )
, { ( symbol_no_quotes_questionmark | "'" | '"' ) } , "?"
 
terminal = "'" , ( visible_characters_no_quotes_questionmark | "?" | '"' )
, { ( visible_characters_no_quotes_questionmark | "?" | '"' ) } , "'"
| '"' , ( visible_characters_no_quotes_questionmark | "?" | "'" )
, { ( visible_characters_no_quotes_questionmark | "?" | "'" ) } , '"' ;
| free-text-special-terminal ;
 
token = symbol_no_quotes | identifier | terminal | free-text-special-terminal ;