aboutsummaryrefslogtreecommitdiff
path: root/core/math.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-08 15:23:22 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-08 15:24:15 -0800
commit652c29bdef1f0991cc13bef59d6dc78b657ae9a4 (patch)
tree8e335399e77b1893657b9fa985db0738034daac3 /core/math.nom
parent1f3660f393c1a17988a15b89f18686b28e51a9e7 (diff)
Major overhaul, splitting nomsu_compiler into nomsu_environment,
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
Diffstat (limited to 'core/math.nom')
-rw-r--r--core/math.nom4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/math.nom b/core/math.nom
index 3bad78a..36d1d90 100644
--- a/core/math.nom
+++ b/core/math.nom
@@ -8,6 +8,8 @@ use "core/operators.nom"
use "core/control_flow.nom"
use "core/collections.nom"
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
# Literals:
test:
assume (all of [inf, NaN, pi, tau, golden ratio, e]) or barf "\
@@ -204,7 +206,7 @@ test:
return %best
# Random functions
-externally (seed random with %) means (..)
+externally (seed random with %) means:
lua> "\
..math.randomseed(\%);
for i=1,20 do math.random(); end"