projects
/
kaleidoscope-hs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Begin codegen
[kaleidoscope-hs.git]
/
AST.hs
diff --git
a/AST.hs
b/AST.hs
index b57d7cb8cede024a9c2bb0e366d8d066474d331d..dfa43b7c60c0d0ced86a73268167b1b9584b9d74 100644
(file)
--- a/
AST.hs
+++ b/
AST.hs
@@
-4,7
+4,7
@@
import Data.Char
import Text.Read
import Text.ParserCombinators.ReadP hiding ((+++), choice)
-data Expr = Num
Float
+data Expr = Num
Double
| Var String
| BinOp BinOp Expr Expr
| Call String [Expr]