0.2.0
Includes better error handling, additional tests, parsing and lexing fixes to match the desired behavior defined by the new tests, and a very basic REPL implementation.
This commit is contained in:
@ -3,14 +3,11 @@ module Main where
|
||||
import Eval
|
||||
import Lexer
|
||||
import Parser
|
||||
import REPL (repl)
|
||||
import Research
|
||||
|
||||
import Data.Map as Map
|
||||
import Text.Megaparsec (runParser)
|
||||
|
||||
main :: IO ()
|
||||
main = putStr
|
||||
$ show
|
||||
$ result
|
||||
$ evalMulti Map.empty (parseMulti
|
||||
"false = t\nnot = t (t (t t) (t t t)) t\ntrue = not false\ntrue")
|
||||
main = repl Map.empty --(Map.fromList [("__result", Leaf)])
|
||||
|
Reference in New Issue
Block a user