-
Notifications
You must be signed in to change notification settings - Fork 1
/
DemoDSL.xml
18 lines (13 loc) · 729 Bytes
/
DemoDSL.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LOKI sematic:
<LOKI specname="xxx">
<!-- Message List -->
<Message name="xxx">
<!-- Attribute List -->
<Attribute name="xxx"(compulsory) type="TYPELIST"(compulsory) ref="xxx"(optional) size="SIZELIST"(optional) mutation="MUTATIONLIST"(optional) param="xxx,xxx"(optional) algo="SHA256"(optional) />
<!-- Strong Relation List -->
<ExpectedMsg mag_name="A" identify="1,2" msg_identify="A.1,A.2" />
</Message>
</LOKI>
<TYPELIST option="Bool, Number, Byte, String, BigNumber, Timestamp, Array, Hash, Signature" />
<SIZELIST option="natural_number, no_limit(default)" />
<MUTATIONLIST option="random_*(default), strictly_increasing, strictly_decreasing, fine_tuning, edge_value, func_hash*, signature, fixed, custom" />