Parse branches
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
module LDText
|
||||
|
||||
module Ast =
|
||||
type Rung = Step list
|
||||
type Rung =
|
||||
| Rung of Step list
|
||||
|
||||
and Instr = { Op: string; Args: Operand list }
|
||||
|
||||
and BranchArm =
|
||||
| BranchArm of Step list
|
||||
|
||||
and Branch =
|
||||
| Branch of BranchArm list
|
||||
|
||||
and Step =
|
||||
| StepInstr of Instr
|
||||
| StepBranch of Step list
|
||||
| StepBranch of Branch
|
||||
|
||||
and Operand =
|
||||
| OperandHole
|
||||
|
Reference in New Issue
Block a user