L5Sharp icon indicating copy to clipboard operation
L5Sharp copied to clipboard

Instruction doesn't support branch syntax

Open billpeet opened this issue 6 months ago • 1 comments

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)).

billpeet avatar Aug 20 '24 02:08 billpeet