473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

THIMC: YML 1.0 released

Hi,

because I think, that XSLT is convenient, but it's somewhat unexpedient
to program XSLT directly, I thought about a more plain solution: YML -
translating a Python- or C-like language into YML.

With YML you'll in particular get the features, which make those things
more easy, which are annoying writing XSLT. ;-)

Because everything is being translated into XSLT, you can use YML or
YSLT, respectively, anywhere, where "pure" XSLT or XML is being used
now.

This is a hello world in YSLT:

----------------------- schnipp ----------------------------------------
include yslt.yml

stylesheet {
output "text"

template("/") {
hello, world\n
}
}
----------------------- schnapp ----------------------------------------

If you're interested in a somewhat more complicated sample, see this
one for (simplyfied) generating Java interfaces out of XMI using YSLT:

<http://fdik.org/yml/xmi2JavaInterface.ysl>

The documentation you'll find on YML homepage here:
<http://fdik.org/yml/>

For having fun, I hacked a "Default Compiler", which generates a default
Y language out of an XML schema. From this tool I got ~99% of YHTML.

So the documentation is in YHTML ;-) <http://fdik.org/yml/index.yhtml>
I'm open for creative hints how to improve that, preferably in
de.comp.text.xml.

BTW: YML tool chain is being used in production in our company for some
time now, so it's a pretty square deal already ;-)

<http://www.logix-tt.com/divisions/software.shtml>

You can download a POSIX distribution under GNU GPL 2.0 here:

<http://fdik.org/yml/yml.tar.bz2>

YML can easily be used on Windows, too. You'll need Python, xsltproc and
XMLStarlet.

F'up2dctx

Yours,
VB.
--
The file name of an indirect node file is the string "iNode" immediately
followed by the link reference converted to decimal text, with no leading
zeroes. For example, an indirect node file with link reference 123 would
have the name "iNode123". - HFS Plus Volume Format, MacOS X
Jun 27 '08 #1
0 1159

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Sparks | last post by:
Kamaelia 0.1.2 has been released! What is it? =========== Kamaelia is a collection of Axon components designed for network protocol experimentation in a single threaded, select based...
22
by: Marc G. Fournier | last post by:
After almost 12 months of intense development, and testing, we are proud to announce the availability of PostgreSQL v7.4. An overview of the major changes in v7.4 include: IN/NOT IN subqueries...
18
by: techie | last post by:
I have a VC++ client that creates a COM object that is implemented in C#. The problem is the COM object doesn't get released, so I get a memory leak. I have no problems creating the COM object...
2
by: VinDotNet | last post by:
Here's the Scenario I am facing: I've got a winform managed c++ client which connects to my managed COM+ server application (by making createinstance, then typecasting the object to an interface,...
4
by: Devrim GUNDUZ | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, For RPM users, (S)RPMS for 7.4.4 was just built. We have (S)RPMS for: * Red Hat Linux 9 * Fedora Core 1
4
by: Michael | last post by:
Hi! (OK, slightly silly subject line :) I'm extremely pleased to say - Kamaelia 0.4.0 has been released! What's New & Changed? =====================
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm announcing the release of Python 2.3.6 (release candidate 1). Python 2.3.6 is a security bug-fix release. While Python 2.5...
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.6 (FINAL). Python 2.3.6 is a security bug-fix release. While Python 2.5 is the...
16
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.5.2 (release candidate 1). This is the second bugfix release of Python 2.5. Python...
1
by: Joseph Geretz | last post by:
If an HttpHandler is implementing IsReusable = true, is the instance notitifed when it is actually released to the pool? Of course, each instance is released to the pool when ProcessRequest...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.