XML in Scriptol
(Scriptol C++ only for now)
XML is a data structure recognized by the Scriptol compiler. and thus we can include XML documents into Scriptol sources...This is a so useful feature that it seem to be a progress as important than object-orientation was in 1981!
The X# language of Microsoft want to "serialize", thus assign, a XML document to a class, defined for that, but it is simpler to use the XML document directly!
The source will hold a part of ordinary Scriptol code, and a déclaration XML with a light form that I shall describe.
The XML part can hold statements, that will be compiled in JavaScript, while statements outside XML are compiled into binary executable.
The xul format is implemented also, allowing to build graphical user interface easily in XML format. JavaScript code may be inserted into the XML document.