summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-13 13:22:37 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-13 13:22:37 -0400
commit45e0055c8bbfa5474fcd7c951428b4ca84b0ed04 (patch)
tree9c1958bd8fae0a54b6c8e937171e583891176e43
parent8fd20c574a55b03ac2723e461d5a4890763d7372 (diff)
toc v. 0.4
-rw-r--r--README.md1
-rw-r--r--main.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index a843c2f..0bd8f54 100644
--- a/README.md
+++ b/README.md
@@ -85,6 +85,7 @@ Here are the major versions of `toc`.
<tr><td>0.1</td><td>Constant parameter inference.</td><td>2019 Dec 15</td></tr>
<tr><td>0.2</td><td>Foreign functions and <code>#include</code>.</td><td>2020 Jan 29</td></tr>
<tr><td>0.3</td><td><code>struct</code> parameters</td><td>2020 Feb 25</td></tr>
+<tr><td>0.4</td><td>Variadic functions</td><td>2020 Mar 13</td></tr>
</table>
---
diff --git a/main.c b/main.c
index fe55fcc..a718200 100644
--- a/main.c
+++ b/main.c
@@ -8,7 +8,6 @@
/*
TODO:
-make new and del functions!
where
#returns_code (function/struct body is a block, to be evaluated at compile time, which returns the actual statements -- you can use this for implementation of printf)
- struct varargs
@@ -17,6 +16,8 @@ continue
switch
enums
unions
+sizeof (not #sizeof)
+- make new and del functions!
---
switch to / add as an alternative: libffi
X ::= newtype(int); or something