diff --git a/src/Windows12.hs b/src/Windows12.hs index c5f16f1..0cf5556 100644 --- a/src/Windows12.hs +++ b/src/Windows12.hs @@ -2,4 +2,5 @@ module Windows12 where import Windows12.Ast import Windows12.Lexer -import Windows12.Parser \ No newline at end of file +import Windows12.Parser +import Windows12.CodeGen diff --git a/src/Windows12/CodeGen.hs b/src/Windows12/CodeGen.hs new file mode 100644 index 0000000..28c8175 --- /dev/null +++ b/src/Windows12/CodeGen.hs @@ -0,0 +1,8 @@ +module Windows12.CodeGen where + +import Data.Text (Text) +import Windows12.Ast +import LLVM.AST (Module) + +codegen :: Text -> Program -> Module +codegen filename (Program structs enums funcs) = undefined diff --git a/windows12.cabal b/windows12.cabal index d909179..71933c1 100644 --- a/windows12.cabal +++ b/windows12.cabal @@ -68,6 +68,7 @@ executable windows12 Windows12.Ast Windows12.Lexer Windows12.Parser + Windows12.CodeGen -- LANGUAGE extensions used by modules in this package. -- other-extensions: