From 4fe73d475778af04ddcc4568b64a2c8035bca028 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 20 Jul 2019 23:35:34 -0700 Subject: 5430 - all examples passing We now have a new pass called 'tests' which code-generates a new function called 'run-tests', just like the C++ layer `tests.cc`. --- subx/translate | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subx/translate') diff --git a/subx/translate b/subx/translate index 979c006c..f5957512 100755 --- a/subx/translate +++ b/subx/translate @@ -18,7 +18,9 @@ build echo `cat $* |grep -v '^\s*#\|^\s*$' |wc -l` lines -cat $* |./subx_bin run apps/dquotes > a.dquotes +cat $* |./subx_bin run apps/tests > a.tests + +cat a.tests |./subx_bin run apps/dquotes > a.dquotes cat a.dquotes |./subx_bin run apps/assort > a.assort -- cgit 1.4.1-2-gfad0