summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-02-07 23:47:45 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-02-07 23:47:45 -0500
commitc08e40d37be72e84e7fe0e48e6e97f95b9c1bf5e (patch)
tree06fdeb2cd1b8a88709e6075e6f26aa6b6600c64e /main.c
parentd64fa6da5b83e770bc4877655b70982d74c37a42 (diff)
(in progress) trying to get eval recursion to work
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 720dbdf..c578f87 100644
--- a/main.c
+++ b/main.c
@@ -18,6 +18,9 @@
/*
TODO:
+fix eval recursion
+make sure that you can't access runtime things from eval
+big leak check with tuples (see "TODO: tuples allocated here will never be freed!")
struct parameters - to allow circular dependencies in types
foo, _ := bar();
nice syntax for #including something into a namespace
@@ -32,7 +35,7 @@ switch to / add as an alternative: libffi
---
X ::= newtype(int); or something
don't allow while {3; 5} (once break is added)
-better printing of types (take was_expr into account)
+do we need was_expr? (now that, presumably, we have struct arguments)
any odd number of "s for a string
make sure futurely/currently-declared types are only used by pointer/slice
allow omission of trailing ; in foo ::= fn() {...} or foo ::= nms {...} ?