-
Notifications
You must be signed in to change notification settings - Fork 0
XML Structure of a TIL source file
Andrea Fioraldi edited this page Mar 9, 2017
·
3 revisions
-
[something]
represents a generic object of the type 'something'. -
[...]
means that the last node can be repeated or omitted
<til version="[number]">
<strings>
<string>[text]</string>
[...]
</strings>
<structs>
<struct name="[text]">
<var type="[type]" name="[text]"/>
[...]
</struct>
</structs>
<globals>
<var type="[type]" name="[text]"/>
[...]
</globals>
<natives>
<native name="[text]">
<signature name="[text]" type="[type]">
<param type="[type]"/>
[...]
</signature>
[...]
</native>
</natives>
<start stack="[number]" locals="[number]" labels="[number]">
<code>
[assembly code]
</code>
</start>
<funcs>
<func stack="[number]" locals="[number]" labels="[number]">
<signature name="[text]" type="[type]">
<param type="[type]"/>
[...]
</signature>
<code>
[assembly code]
</code>
</func>
[...]
</funcs>
<libs>
<lib name="[text]">
<records>
<link name="[text]"/>
[...]
</records>
<data>
<link name="[text]"/>
[...]
</data>
<imported>
<link name="[text]"/>
[...]
</imported>
<functions>
<link name="[text]"/>
[...]
</functions>
</lib>
[...]
</libs>
</til>