Skip to content

Commit

Permalink
Add exports
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeAbel committed Jan 3, 2024
1 parent 4ce0c16 commit b6e2464
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lvtc/src/AST.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
-- AST
-}

module AST
(
, Type
, Value
, Var
, FuncCall
, FuncPrototype
, FuncDeclaration
, Instruction
, VarDeclaration
, VarAssignation
, Condition
, ReturnType
, TypeValue
) where

getType :: Type -> String
getType Int32 = "Int32"
getType _ = Nothing
Expand Down

0 comments on commit b6e2464

Please sign in to comment.