Skip to content

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.

master
Go to file
Code
This branch is even with uplang:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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."

About

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.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.