Start making generated parser

This commit is contained in:
2025-09-07 16:48:14 -06:00
parent 2154730334
commit 5ba25d4270
6 changed files with 315 additions and 0 deletions

14
ldtext/LDText.fs Normal file
View 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