summarylogtreecommitdiffstats
path: root/sictools
blob: 0c1a6df465b52898c87d672660e9065a1204a1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

case $1 in
	asm)
		java -cp /usr/share/java/sictools/sictools.jar sic.Asm ${@:2:$#-1}
		;;
	link)
		java -cp /usr/share/java/sictools/sictools.jar sic.Link ${@:2:$#-1}
		;;
	sim)
		java -cp /usr/share/java/sictools/sictools.jar sic.Sim ${@:2:$#-1}
		;;
	*)
		echo "usage: sictools <asm|link|sim> [<args>]"
		;;
esac