RSS 2.0
Sign In
# Thursday, May 26, 2011

We did not update languages-xom already for many monthes but now we have found a severe bug in the jxom's algorithm for eliminating unreachable code. The marked line were considered as unreachable:

check:
  if (condition)
  {
    break check;
  }
  else
  {
    return;
  }

  // due to bug the following was considered unreachable
  expression;

Bug is fixed.

Current update contains other cosmetic fixes.

Please download xslt sources from languages-xom.zip.

Summary

Languages XOM is a set of xml schemas and xslt stylesheets that allows:

  • to define programs in xml form;
  • to perform transformations over code in xml form;
  • to generate sources.

Languages XOM includes:

  • jxom - Java Xml Object model;
  • csharpxom - C# Xml Object Model;
  • cobolxom - COBOL Xml Object Model;
  • sqlxom - SQL Xml Object Model (including several sql dialects);
  • aspx - ASP.NET Object Model;

A proprietary part of languages XOM also includes XML Object Model for a language named Cool:GEN. In fact the original purpose for this API was a generation of java/C#/COBOL from Cool:GEN. For more details about Cool:GEN conversion please see here.

Thursday, May 26, 2011 5:15:11 AM UTC  #    Comments [2] -
Announce | Java | xslt
Tuesday, December 20, 2011 8:29:31 PM UTC
Btw have you seen cxxi? Kinda related to XOM in generation part. http://tirania.org/blog/archive/2011/Dec-19.html
Oleg Tkachenko
Wednesday, December 21, 2011 9:29:25 AM UTC
Hello, Oleg!

Thanks for the reference.

Indeed, their approach is interesting.

Probably, the most important difference is that we're using xslt 2, and xml representation of data is only a consequence.

It's funny to reflect about bifurcation points: it could be (xslt, javascript, F#, C++, java, C#...)/(xml, json...) or something very different. :-)
Comments are closed.
Archive
<August 2019>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Statistics
Total Posts: 366
This Year: 2
This Month: 0
This Week: 0
Comments: 221
Locations of visitors to this page
Disclaimer
The opinions expressed herein are our own personal opinions and do not represent our employer's view in anyway.

© 2019, Nesterovsky bros
All Content © 2019, Nesterovsky bros
DasBlog theme 'Business' created by Christoph De Baene (delarou)