0.1.0 base collection of features
Implemented evaluation of tree calculus terms alongside referentially transparent variable identifiers. Implemented evaluation of defined functions into tree calculus.
This commit is contained in:
@ -5,7 +5,8 @@ import Lexer
|
||||
import Parser
|
||||
import Research
|
||||
|
||||
import Data.Map as Map
|
||||
import Text.Megaparsec (runParser)
|
||||
|
||||
main :: IO ()
|
||||
main = putStr $ show $ parseSapling "false = t"
|
||||
main = putStr $ show $ result $ evalMulti Map.empty (parseMulti "false = t\nnot = t (t (t t) (t t t)) t\ntrue = not false\ntrue")
|
||||
|
Reference in New Issue
Block a user