September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,3 @@
#define name [0|1]
#if [0|1|name]
#else, #endif

View file

@ -0,0 +1,3 @@
//Full zkl functionality but limited access to the parse stream; only #defines
#ifdef name
#fcn name {code}

View file

@ -0,0 +1,3 @@
// Shove text into the parse stream
#text name text
#tokenize name, #tokenize f, #tokenize f(a)

View file

@ -0,0 +1,3 @@
#<<<#
text, any text, inside #<<<# pairs is ignored
#<<<#

View file

@ -0,0 +1,8 @@
string:=
#<<<
"here docs:
all text in #<<< pairs is collected into one [long] line and passed
verbatim to the tokenizer. Illustrated here as quoted (\") strings
can not span lines.";
#<<<
println(string); // contains newlines

View file

@ -0,0 +1,4 @@
const{ var _n=-1; var [proxy] N=fcn{ _n+=1 } }
const X=N; // → 0
println(_n); // → 2 code time is after const time
const Y=N,Z=N; // → 1,2