September 2002
Intermediate to advanced
608 pages
14h 20m
English
9.1 XML syntax for programming language: Develop an XML language for writing programs (perhaps we'll call it Xperanto). To get you started, here's a possible syntax for a variable declaration:
<variable> <name>i</name> <type>integer</type> <initialvalue>0</initialvalue> </variable>9.2 XML conversion to program code: Write a simple program using this format, and then use XSLT to convert the program to a variety of languages (such as Java and COBOL). Is the program you just wrote code, or data? If all programs were written this way, could all the world's software be replaced with just a single XML processor? For extra credit, write an operating system in this XML language. Does it boot faster or slower than Windows?
9.3 Conference ...
Read now
Unlock full access