summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 74aada4..a584916 100644
--- a/main.c
+++ b/main.c
@@ -8,10 +8,11 @@
/*
@TODO:
-do #include "std/base.toc", base; in std/io.toc and std/mem.toc
does our use before declare thing work with #include?
+allow using constant before declaring it, and do DECL_FINDING_TYPE, for circular dependencies
#no_warn
start making a standard library... (printf; stringbuilder would be nice to have)
+if we do #include "foo.toc", bar; and foo.toc fails, bar should be declared as TYPE_UNKNOWN (right now it's undeclared)
improve type_to_str:
Foo ::= struct(t::Type) {}
type_to_str(Foo(int))