Get the latest tech news

Don't Use ISO/IEC 14977:1996 Extended Backus-Naur Form (EBNF) (2023)


A description of why you should not use ISO/IEC 14977 as an Extended Backus-Naur Form (EBNF) format, and why should use alternatives such as W3C's instead.

Thus, it cannot directly represent the full range of code points allowed by ISO/IEC 10646 / Unicode when processing text, and it’s also inadequate for describing binary formats. In short, while there would be a big advantage to having a single notation, the community of those who write language specifications have generally rejected ISO 14977 for a variety of reasons. The W3C specification is much more similar to typical regex syntax making it much easier for today's software developers to understand), avoids the key problems of 14977:1996, and is already clearly described.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ISO

ISO

Photo of naur form

naur form

Photo of iec

iec

Related news:

News photo

UK ICO response to Google's policy change on device fingerprinting

News photo

OpenID Connect specifications published as ISO standards

News photo

Why the ISO format has to die