-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Expand file tree
/
Copy pathlanguage_definitions.rxg
More file actions
66 lines (63 loc) · 2.08 KB
/
language_definitions.rxg
File metadata and controls
66 lines (63 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<include href="language_common.rxg" />
<!-- language_definitions files have extension .ldefs -->
<start>
<element name="language_definitions">
<zeroOrMore>
<element name="language">
<optional>
<attribute name="hidden">
<!-- a language marked as hidden will only be available within a development environment -->
<ref name="boolean_type" />
</attribute>
</optional>
<optional>
<attribute name="deprecated">
<ref name="boolean_type" />
</attribute>
</optional>
<attribute name="processor"/>
<attribute name="endian">
<ref name="endian_type" />
</attribute>
<optional>
<attribute name="instructionEndian">
<ref name="endian_type" />
</attribute>
</optional>
<attribute name="size" />
<attribute name="variant" />
<attribute name="version" />
<attribute name="slafile" />
<attribute name="processorspec" />
<optional>
<attribute name="manualindexfile" />
</optional>
<attribute name="id" />
<element name="description"> <text/> </element>
<optional>
<element name="truncate_space">
<attribute name="space" />
<attribute name="size" />
</element>
</optional>
<oneOrMore>
<!-- first compiler spec is the default!!! -->
<element name="compiler">
<attribute name="name" />
<attribute name="spec" />
<attribute name="id" />
</element>
</oneOrMore>
<zeroOrMore>
<element name="external_name">
<attribute name="tool" />
<attribute name="name" />
</element>
</zeroOrMore>
</element>
</zeroOrMore>
</element>
</start>
</grammar>