aboutsummaryrefslogtreecommitdiffstats
path: root/compiler/aup.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-19 00:40:55 +0100
committereunhhu <[email protected]>2026-10-19 00:40:55 +0100
commite0298482010b0f78398b3c94cb0d127db5042a78 (patch)
tree8d0715d1ceee9719f93996c0e0b0fa69d0e9e6ed /compiler/aup.h
parent9480b493e4b919245e84799417641e7ccb7401a1 (diff)
downloadaup-e0298482010b0f78398b3c94cb0d127db5042a78.tar.gz
aup-e0298482010b0f78398b3c94cb0d127db5042a78.zip
Pure 027's 4f-4: a source of any size (files and standard input read whole), the compiler's tables raised to Pure's widths (4,096 states, 1,024 inputs, 4,096 views and handlers, 1,024 records, 16,384 record fields; 15 MB calloc'd, its unused rooms never touched) and its diagnostics saying so; at most 255 outputs (Pure's store counts them in a byte), a walked or folded list among the first 256 states (its argument's byte), said before Pure would refuse; a wide program checked: 301 states, 40 inputs, 70 views and 20 records in 48 KB of source, run to the last of each
Diffstat (limited to 'compiler/aup.h')
-rw-r--r--compiler/aup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/aup.h b/compiler/aup.h
index 98b59b0..c35c44a 100644
--- a/compiler/aup.h
+++ b/compiler/aup.h
@@ -4,7 +4,7 @@
#include <stddef.h>
/* aup: source text to a Pure module (Pure docs/design/008-module-format.md). */
-enum { AUP_SOURCE_LIMIT = 32768, AUP_MESSAGE = 256, AUP_PATH = 256 };
+enum { AUP_MESSAGE = 256, AUP_PATH = 256 };
typedef struct {
char path[AUP_PATH]; /* the library the error is in, or "" for the main source */