about summary refs log tree commit diff stats
path: root/translate_mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 16:45:30 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 16:45:30 -0800
commit23fd294d85959c6b476bcdc35ed6ad508cc99b8f (patch)
tree871b6acf17c37797f83c134c5ccab2fba77ab666 /translate_mu
parent7ca19e4e1d3acb2c770c180156b813fb536a673e (diff)
downloadmu-23fd294d85959c6b476bcdc35ed6ad508cc99b8f.tar.gz
5851
Rename a few scripts to be more consistent.

I'm also starting to feel the urge to bud off `subx run` into its own program,
say tools/emulate_x86. It doesn't really rely on the SubX notation at all.

And then I could rename `subx translate` to `translate_subx_bootstrap`.

Only problem: the commands in the Readme get verbose. But the Readme is
gonna need surgery soon anyway to put translate_mu front and center.
Diffstat (limited to 'translate_mu')
-rwxr-xr-xtranslate_mu4
1 files changed, 3 insertions, 1 deletions
diff --git a/translate_mu b/translate_mu
index d3029433..d6e6bfa9 100755
--- a/translate_mu
+++ b/translate_mu
@@ -1,7 +1,9 @@
 #!/bin/sh
+# Translate given Mu programs into ELF binaries.
+# Linux only for now.
 
 set -e
 
 cat $*          |apps/mu      > a.subx
 
-./ntranslate init.linux 0*.subx mu-init.subx a.subx
+./translate_subx init.linux 0*.subx mu-init.subx a.subx