Drop parseVarWithoutAssignment

Additionally sorts gitignore and adds attempted decoding of lists back
to the REPL
This commit is contained in:
2025-01-03 10:31:35 -06:00
committed by James Eversole
parent 7d97b85f74
commit 66cc5fdd27
4 changed files with 12 additions and 17 deletions

View File

@ -53,7 +53,7 @@ lexerTests = testGroup "Lexer Tests"
expect = Right [LKeywordT, LStringLiteral "string", LIntegerLiteral 42]
runParser tricuLexer "" input @?= expect
, testCase "Lex invalid token" $ do
let input = "$invalid"
let input = "&invalid"
case runParser tricuLexer "" input of
Left _ -> return ()
Right _ -> assertFailure "Expected lexer to fail on invalid token"