slashrun.org is a framework for a collective exploration of the potential locked up in text at the digital age

SLASHRUNS : THE MARKUP GRAMMARS

Markup-based slashruns will use one of these two grammars:

the strict markup grammar

Based on the XML standard, it allows for the definition of data using tags and attributes. Some advantages: errors are easily detectable, and code-generation is simple. Some inconvenients: composition can be tedious, and everything is likely to break on the slightest malformation.

the tolerant markup grammar

As with good old html, tags don't need to be closed and attributes don't need to be always enclosed by quotes. Some advantages: composition is easy, and nothing is likely to break during parsing. Some inconvenients: error hunting can be tedious, and code-interpretation is more complex.

character encoding and markup entities

Slashruns support the ISO 8859-15 character encoding, which is similar to ISO 8859-1 but replaces some less common symbols with the euro sign and some other characters that were missing.

Shortly, it means that when you execute some slashrun code from html:

  • • If the encoding of the page is 8859-1 and you are using characters that are in the 8859-1 set: you can pass them as they are.
  • • If the encoding of the page is 8859-1 and you are using characters that are not in the 8859-1 set (e.g. the euro sign): you should pass them as entities (e.g. €)
  • • If the encoding of the page is not 8859-1 and you are using characters that are not in the ASCII range: you should pass them as entities.

In addition, the basic set of XML entities is supported: " (quotation mark), ' (apostrophe), & (ampersand), < (less-than), > (greater-than).

Finally, some useful html entities will work as well:   (non-breaking space), – (en dash), — (em dash).