L5Sharp
L5Sharp copied to clipboard
Instruction doesn't support branch syntax
Hey mate, just want to say this library is amazing! Going to be a huge help on my current project.
One thing I've noticed, branches in L5X seem to be represented with a comma-separated syntax, e.g.:
<Text>
<![CDATA[[XIC(Var1) ,XIC(Var2) ]OTE(Var3);]]>
</Text>
represents
|------[ Var1 ]---------------------[ Var3 ]--|
| |
----[ Var2 ]---
Looks like it surrounds the block with [ ], with each branch comma-separated.
Doesn't look like Instruction.Parse supports this, it just picks up the first instruction (XIC(Var1)
).