This commit is contained in:
crumbtoo
2024-01-15 13:31:15 -07:00
parent c0236dc079
commit 1c035d092a
5 changed files with 103 additions and 42 deletions

View File

@@ -42,8 +42,10 @@ data RlpToken
| TokenConName Name
| TokenVarSym Name
| TokenConSym Name
-- keywords
-- reserved words
| TokenData
| TokenCase
| TokenOf
| TokenLet
| TokenIn
-- reserved ops
@@ -87,6 +89,7 @@ data ParseState = ParseState
{ _psLayoutStack :: [Layout]
, _psLexState :: [Int]
, _psInput :: AlexInput
, _psOpTable :: OpTable
}
deriving Show