W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] [html5] Semantic elements and spec complexity

From: David Gerard <dgerard@gmail.com>
Date: Wed, 11 Feb 2009 21:36:25 +0000
Message-ID: <fbad4e140902111336w15be72l5fffa88ecbb8fca@mail.gmail.com>
2009/2/11 David Gerard <dgerard at gmail.com>:

> So the tricky one is to write a language definition that does
> something meaningful with tag soup. Because "tag soup" is what human
> languages are too, and they're learned in a similar fashion (try stuff
> and see if it works).


Oh - and the way MediaWiki (the engine Wikipedia uses) deals with this
is: there *is* no language definition - it's a series of PHP regular
expressions. The parser is the actual definition of wikitext. This is
horrifying in both big and small detail, of course. Also, the language
is provably impossible to put into EBNF form. Argh.


- d.
Received on Wednesday, 11 February 2009 13:36:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:48 GMT