# Wirth syntax notation

Wirth syntax notation is an actively used grammar language created in 1977. Wirth syntax notation (WSN) is a metasyntax, that is, a formal way to describe formal languages. Originally proposed by Niklaus Wirth in 1977 as an alternative to Backus–Naur form (BNF). It has several advantages over BNF in that it contains an explicit iteration construct, and it avoids the use of an explicit symbol for the empty string (such as

43Years Old | 20Users | ?Jobs |

- the Wirth syntax notation wikipedia page
- Wirth syntax notation first appeared in 1977
- Have a question about Wirth syntax notation not answered here? Email me and let me know how I can help.

### Example code from the web:

SYNTAX = { PRODUCTION } . PRODUCTION = IDENTIFIER "=" EXPRESSION "." . EXPRESSION = TERM { "|" TERM } . TERM = FACTOR { FACTOR } . FACTOR = IDENTIFIER | LITERAL | "[" EXPRESSION "]" | "(" EXPRESSION ")" | "{" EXPRESSION "}" . IDENTIFIER = letter { letter } . LITERAL = """" character { character } """" .

Last updated August 9th, 2020