From 45e0055c8bbfa5474fcd7c951428b4ca84b0ed04 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 13 Mar 2020 13:22:37 -0400 Subject: toc v. 0.4 --- README.md | 1 + main.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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`. 0.1Constant parameter inference.2019 Dec 15 0.2Foreign functions and #include.2020 Jan 29 0.3struct parameters2020 Feb 25 +0.4Variadic functions2020 Mar 13 --- 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 -- cgit v1.2.3