Equivalent structure to XML without all the <nonsense>. Whitespace and {}/indents are used, like any reasonably designed language, to make structured documents legible, easy for a machine _and_ human to parse, and while being less verbose than XML.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with xupl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
include
src
test
.gitignore
COPYING
COPYRIGHT.txt
README.md
VERSION.txt
makefile

README.md

Build Status endorse

See the xupl wiki

Let's return to a sane world where opening and closing blocks is as simple and easy as matching curly braces {} and all the words with meaning in the text are not hidden beneath cruft </>.

Xupl enables the writing of HTML like this:

html {
	head {title{"Xupl"}}
    body {
    	div #xuplid .xuplclass {
    		a //github.com/nicerobot/text-plain/wiki {"text-plain.org"}

and getting this:

<html>
  <head>
    <title>Xupl</title>
  </head>
  <body>
    <div id="xuplid" class="xuplclass">
      <a href="//github.com/nicerobot/text-plain/wiki">text-plain.org</a>
    </div>
  </body>
</html>

Coming soon, the above can be written using only indentations for blocks:

html
	head
		title
			"Xupl"
    body
    	div #xuplid .xuplclass
    		a //github.com/nicerobot/text-plain/wiki
    			"text-plain.org"
    		"And any quoted text
				is naturally
				multi-line."

or compact:

html
	head: title: "Xupl"
    body: div #xuplid .xuplclass
    	a //github.com/nicerobot/text-plain/wiki: "text-plain.org"
		"And any quoted text\ncan embed\ncarriage returns."