Start making generated parser
This commit is contained in:
14
ldtext/LDText.fs
Normal file
14
ldtext/LDText.fs
Normal file
@@ -0,0 +1,14 @@
|
||||
module LDText
|
||||
|
||||
module Ast =
|
||||
type Rung = Step list
|
||||
|
||||
and Instr = { Op: string; Args: Operand list }
|
||||
|
||||
and Step =
|
||||
| StepInstr of Instr
|
||||
| StepBranch of Step list
|
||||
|
||||
and Operand =
|
||||
| OperandHole
|
||||
| OperandTag of string
|
Reference in New Issue
Block a user