section |
contents |
nodes |
This explains how the source code is represented internally in the program
as a tree structure of nodes. |
parsing |
The explains how a source code file is read and converted to the internal
structure (tree structure of nodes) |
translating |
This explains how the internal representation is output in various forms
using XSLT. |
The above diagram is 'work in progress' I have drawn it to help me understand Benoits proposal as follows:
To split the node structure generated by the javacc parser from
the internal representation of XES.
The JAXB compiler generates a lightweight structure of classes that
mimics the XES schema structure. Thoses classes can be directly
marshalled/unmarshalled by JAXB.
XSLTs compiled with Xalan could be used to generate classes to transform
the output for a specific language.
This site may have errors. Don't use for critical systems.