Martin Klang | 11 Nov 2005 18:28

short markup language


New project on www.o-xml.org!
The Short Markup Language provides a convenient shorthand for  
authoring and editing XML documents. The notation can also be used on  
its own, and a future goal is to implement fully compliant SAX and  
DOM parsers. The notation is particularly suitable for software  
development and code representations such as o:XML, as it borrows  
some syntax from C and Java-like languages.

For more information see

http://www.o-xml.org/projects/sml.html

/m
philip andrew | 19 Nov 2005 14:23
Picon
Favicon

O-XML translation to Java


Hello,

Does o-XML allow translation of the o-XML to Java code ? if so how?

Thanks, Philip
David Teller | 22 Nov 2005 18:43

I have tried, really

   Hi everyone.

 This is my first post to the list, so I guess I should present myself.
My name is David, my real job is research on programming languages, my
night/week-end job is open-source developer. 

 For about one year, I have been looking at o-xml with curiosity. I've
browsed through the website & documentation, I've tried very hard and
still I don't understand: What is the point ? Is this a student
project ? Is there someone actually interested in coding directly with
an abstract syntax instead of a concrete one -- and who doesn't do Lisp
already ?

Cheers,
 David

P.S.:
 Sorry, if this sounds trollish. I guess it is a half-troll, but I would
really like to know the answer to that question.

--

-- 
Read, write and publish e-books,
 Free software, Open standards, Open source,
  The OpenBerg project -- http://www.openberg.org
Martin Klang | 23 Nov 2005 18:28

Re: I have tried, really

David,

your question is very valid and your candour much appreciated, don't  
feel you have to apologise!

Primarily o:XML is a practical language for solving practical  
problems. It scratches an itch that neither Java/c# style languages  
nor XML-based technologies like XSLT and XQuery can reach. Try  
writing a simple XML/XSLT web application or straight XML web service  
in o:XML and you'll hopefully see what I'm talking about: integrated  
XPath with OO extensions coupled with first-class XML objects makes  
XML processing extremely straightforward.
Check out the vendue project [1] for a simple example.

Secondarily o:XML is a means for exploring a number of theory areas  
including abstract syntaxes, language transformations, meta- 
programming and AOSD, code generation and what I've termed layered  
programming - the inclusion of several layers of information with the  
source code.
An example of theory in practice is hatatap [2], where a descriptive  
XML format is used to generate o:XML code.

I'm glad that o:XML piqued your interest, hope you'll be staying on!

/m

[1] http://www.o-xml.org/projects/vendue.html
[2] http://www.o-xml.org/projects/hatatap.html

On 22 Nov 2005, at 17:43, David Teller wrote:
(Continue reading)


Gmane