A grammar for standardized wiki markup

  • Authors:
  • Martin Junghans;Dirk Riehle;Rama Gurram;Matthias Kaiser;Mário Lopes;Umit Yalcinalp

  • Affiliations:
  • SAP Research, SAP Labs LLC, Palo Alto, CA;SAP Research, SAP Labs LLC, Palo Alto, CA;SAP Research, SAP Labs LLC, Palo Alto, CA;SAP Research, SAP Labs LLC, Palo Alto, CA;SAP Research, SAP Labs LLC, Palo Alto, CA;SAP Research, SAP Labs LLC, Palo Alto, CA

  • Venue:
  • WikiSym '08 Proceedings of the 4th International Symposium on Wikis
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Today's wiki engines are not interoperable. The rendering engine is tied to the processing tools which are tied to the wiki editors. This is an unfortunate consequence of the lack of rigorously specified standards. This paper discusses an EBNF-based grammar for Wiki Creole 1.0, a community standard for wiki markup, and demonstrates its benefits. Wiki Creole is being specified using prose, so our grammar revealed several categories of ambiguities, showing the value of a more formal approach to wiki markup specification. The formalization of Wiki Creole using a grammar shows performance problems that today's regular-expression-based wiki parsers might face when scaling up. We present an implementation of a wiki markup parser and demonstrate our test cases for validating Wiki Creole parsers. We view the work presented in this paper as an important step towards decoupling wiki rendering engines from processing tools and from editing tools by means of a precise and complete wiki markup specification. This decoupling layer will then allow innovation on these different parts to proceed independently and as is expected at a faster pace than before.