[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Readable syntaxes (was: XUL Compact Syntax Study Now Onli


isomorphic syntax

Dave,

On Thu, 22 Apr 2004, Dave Pawson wrote:

> At 17:47 22/04/2004, Jim Rankin wrote:
> 
> >Also, any tool will have limits.  There will be times when you want to do 
> >things with the data that the person who wrote the tool didn't envision, 
> >and then having a human readable text format like XML will be a big plus.
> 
> The example that tripped me up recently.
> A 'tagless' form of XML, editing docbook.
> I wanted to close off about 3 levels of tags, say para sect2 sect1
> and create a new sect1.
> Because the end tags weren't there to get my cursor in-between
> I just couldn't do what I wanted. Nor could I find any way to
> achieve that.

But that's not an example of a compact notation -- it's an example of
a tool trying to be cleverer than you are, and hiding things from you.
This is an example of bad tool design or bad interface design, not a
demerit of a readable syntax.

I chose to adopt a lisp-like syntax both because it's isomorphic to XML
and because, like XML, it's very easy to parse.  That also means it's
very easy for your editor to help you write it.  Whether I'm writing
XML or writing lisp-like things, I use almost exactly the same editor
keystrokes to navigate around.  It also means that the editor can check
that I've got everything matched up.  Mismatched terminators -- in the
case of both XML and pseudo-lisp -- just don't happen.

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.