Extended BNF

Erik has a great link today to an introduction on BNF. I didn't know what BNF was, but Erik doesn't link to crap so I checked it out. It's VERY useful.

You know in all those specification documents you always see the definition of how a particular command or syntax works? (Here's the XML spec for example). It always looks like this:

Identifier := "a..z,A..Z,$,_" { "a..z,A..Z,$,_,0..9, unicode character over 00C0" }

That's what the article talks about. I never really understood this before. Cool... thanks Erik!


< Previous         Next >