#!/usr/bin/env zsh# Run commonly-used SubX programs using the SubX VM in 'debug mode'.if[$#-eq0]thenecho"drun <binary> <args>"exit1fiif[[$1=='ex'*]]thenCFLAGS=-g./subx--map--tracerunexamples/$*2>x
exit$?fiCFLAGS=-g./subx--map--tracerunapps/$*2>x
exit$?