From fd91f7f61bfa84cbc24590d5394d75891cc1cfcc Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 19 Sep 2019 21:01:43 -0700 Subject: 5675 - move helpers from subx-common into layers This undoes 5672 in favor of a new plan: Layers 000 - 099 are for running without syntax sugar. We use them for building syntax-sugar passes. Layers 100 and up are for running with all syntax sugar. The layers are arranged in approximate order so more phases rely on earlier layers than later ones. I plan to not use intermediate syntax sugar (just sigils without calls, or sigils and calls without braces) anywhere except in the specific passes implementing them. --- test_layers | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test_layers') diff --git a/test_layers b/test_layers index ea7551df..522e413b 100755 --- a/test_layers +++ b/test_layers @@ -22,11 +22,11 @@ for f in [0-9]*.subx do echo "=== $f" ./subx translate init.linux $(enumerate/enumerate --until $f |grep '\.subx$') -o a.elf - ./subx run a.elf + ./subx run a.elf test echo test `uname` = 'Linux' && { chmod +x a.elf - ./a.elf + ./a.elf test echo } || true done -- cgit 1.4.1-2-gfad0