about summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-13 10:08:53 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-13 10:08:53 -0700
commit33f1ca780c19adb8be9b38d2249dcf6a86bdeb60 (patch)
tree73c8f3ca8ae8b1dca7b90db9158b507a6800ac2a /build
parent64d51af46fe2334d7c32a9c378a15e0f393719e1 (diff)
downloadmu-33f1ca780c19adb8be9b38d2249dcf6a86bdeb60.tar.gz
.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index ac1b5828..ed266455 100755
--- a/build
+++ b/build
@@ -136,6 +136,14 @@ then
     }
   done
 
+  # higher-level syntax
+  for phase in desugar
+  do
+    older_than apps/$phase apps/$phase.subx apps/subx-common.subx [0-9]*.subx && {
+      ./subx_bin translate [0-9]*.subx apps/subx-common.subx apps/$phase.subx -o apps/$phase
+    }
+  done
+
 fi
 
 exit 0