diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-09-21 21:03:55 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-09-21 21:03:55 +0200 |
commit | b18a1a6210b3f89071b3615a55352d007f4cfed9 (patch) | |
tree | 76d8363e42fff5e251750ae122db4f9679c51a92 /Language/C.hs | |
parent | 956a60dc5253da43dc0fddaecf88116597023fdf (diff) |
Incorporate printing code from previous attempt at this
Diffstat (limited to 'Language/C.hs')
-rw-r--r-- | Language/C.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Language/C.hs b/Language/C.hs index 530088c..86250dd 100644 --- a/Language/C.hs +++ b/Language/C.hs @@ -1,6 +1,9 @@ module Language.C where +data Program = Program [FunDef] + deriving (Show) + data FunDef = FunDef Type Name [(Type, Name)] StExpr | ProcDef Name [(Type, Name)] [Stmt] |