From 119950ebde3c9f096d1866ba6448d6bd9b22d063 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 3 Jul 2020 16:09:10 -0400 Subject: removed ability to evaluate a function before it is declared at compile time; that was causing too many problems --- docs/00.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/00.html') diff --git a/docs/00.html b/docs/00.html index b32be13..7609f7b 100644 --- a/docs/00.html +++ b/docs/00.html @@ -66,6 +66,6 @@ x ::= 5+3; y :: float = 5.123;

-

Here, "constant" means constant at compile time, not read-only as it does in C. One interesting thing about toc is that normal functions can run at compile time, so pretty much any expression is a valid initializer for a constant, e.g. doing x ::= some_function(); runs some_function at compile time, not at run time.

+

Here, "constant" means constant at compile time, not read-only as it does in C.

-- cgit v1.2.3