about summary refs log tree commit diff stats
path: root/subx/translate
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-20 23:35:34 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-20 23:38:11 -0700
commit4fe73d475778af04ddcc4568b64a2c8035bca028 (patch)
tree4d823f9ab50448680a18963f0c745847a465480a /subx/translate
parentf6b8bcb307c846517ccdbad5f5fa54704e00d107 (diff)
downloadmu-4fe73d475778af04ddcc4568b64a2c8035bca028.tar.gz
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`.
Diffstat (limited to 'subx/translate')
-rwxr-xr-xsubx/translate4
1 files changed, 3 insertions, 1 deletions
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