Create CodeGen module

This commit is contained in:
Ethan Girouard 2024-12-09 20:29:04 -05:00
parent 898160d611
commit 892658de78
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
3 changed files with 11 additions and 1 deletions

View File

@ -2,4 +2,5 @@ module Windows12 where
import Windows12.Ast
import Windows12.Lexer
import Windows12.Parser
import Windows12.Parser
import Windows12.CodeGen

8
src/Windows12/CodeGen.hs Normal file
View File

@ -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

View File

@ -68,6 +68,7 @@ executable windows12
Windows12.Ast
Windows12.Lexer
Windows12.Parser
Windows12.CodeGen
-- LANGUAGE extensions used by modules in this package.
-- other-extensions: