Python Forum
Is ::= a typo or actually an operator?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is ::= a typo or actually an operator?
#2
It's a metasyntax notation called extended Backus-Naur form (EBNF).
The BNF uses the symbols (<, >, |, ::=) for itself, but does not include quotes around terminal strings. This prevents these characters from being used in the languages, and requires a special symbol for the empty string. In EBNF, terminals are strictly enclosed within quotation marks ("..." or '...'). The angle brackets ("<...>") for nonterminals can be omitted.
see: https://www.w3.org/TR/hdml20-6.html#HEADING6-3
Reply


Messages In This Thread
Is ::= a typo or actually an operator? - by Regulus - Jan-22-2018, 03:35 AM
RE: Is ::= a typo or actually an operator? - by Larz60+ - Jan-22-2018, 03:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  please looking for typo in my code (solution please) jamie_01 1 1,276 Jan-12-2022, 06:45 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020