YML is an easy language to compile into XML.
Any time a formal language is created for computing, a compromise has to be found: whether the language is perfect for the computer but terrible for the human or vice versa. XML is very good for the computer.
Using XML for the reasons mentioned above, but for programming? "Why a Markup Language?!" was what I was shouting some time playing around with a code generator in XSLT. That gave the idea.
Motivation
Many people don't write XSLT directly, because they don't like writing programs in angle brackets. The result usually is, that people are writing Java programs, and are processing XML from Java, or are using XSLT features from Java programs.
But that is very inefficient - there are small and quick XSLT processors, and there are no advantages at all to implement that in Java or C++ usually.
So I wanted to have something like a Java or C like language, which can be easily translated into XSLT. Then a common XSLT processor can process the program, and XML can be processed very quickly.
I started this, because I saw, that code generation for Automated Software Engineering can be implemented very easily in XSLT - but writing XSLT is annoying.
What is new in this release:
- Minor bugfixes.
What is new in version 2.4.3:
- Added extra syntax for the include directive.
What is new in version 2.4.2:
- This version is based on pyPEG 1.4.
- Some more loose syntax for function calls has been added.
What is new in version 2.4.1:
- This is mainly a documentation update.
What is new in version 2.3.4:
- Improving Block Line Quote.
- Extending the syntax of function calls.
What is new in version 2.3.12:
- YML 2 is now using pyPEG 1.3.
What is new in version 2.3.11:
- This version fixes a bug with double dereferencing pointers and Unicode.
What is new in version 2.3.10:
- Bugs with unicode in error handling have been fixed.
What is new in version 2.3.8:
- The assert(test, msg) and debug(msg) functions were added to YSLT.
Requirements:
- Python
- Libxslt
- XMLStarlet
Comments not found