aboutsummaryrefslogtreecommitdiff
path: root/ast/CC
diff options
context:
space:
mode:
Diffstat (limited to 'ast/CC')
-rw-r--r--ast/CC/Context.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ast/CC/Context.hs b/ast/CC/Context.hs
index 1f8c673..0a54392 100644
--- a/ast/CC/Context.hs
+++ b/ast/CC/Context.hs
@@ -1,5 +1,10 @@
module CC.Context where
+import CC.AST.Typed
+
-- | Source metadata for compilation
-data Context = Context FilePath
+data Context = Context FilePath Builtins
+
+-- | Information about builtins supported by the enabled backend
+data Builtins = Builtins [(Name, TypeT)]