about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-06-11 22:50:18 -0700
committerKartik Agaram <vc@akkartik.com>2019-06-11 22:50:18 -0700
commitf47066a7c2f53796fb252dc187cdcf77834a1157 (patch)
treeccb74cb6085302465a59f89518bac06cc36d5d54
parent6928eb9e44878d5ad076f80561ef8820bddc9e55 (diff)
downloadmu-f47066a7c2f53796fb252dc187cdcf77834a1157.tar.gz
.
-rwxr-xr-xsubx/dgen28
-rwxr-xr-xsubx/drun22
-rwxr-xr-xsubx/gen28
-rwxr-xr-xsubx/run22
4 files changed, 0 insertions, 100 deletions
diff --git a/subx/dgen b/subx/dgen
deleted file mode 100755
index 1a5a8366..00000000
--- a/subx/dgen
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Little helper to quickly build SubX programs in 'debug mode' from the commandline.
-# Only works for programs in some standard places the repo knows about.
-
-if [ $# -eq 0 ]
-then
-  echo "Usage: $0 <file root without subdirectory or .subx extension>"
-  echo
-  echo "Naming convention: Files starting with 'ex' will be assumed to live in examples/ and be self-contained."
-  echo "Other files will be assumed to live in apps/ and need the standard library."
-  exit 1
-fi
-
-# Build in debug mode since the common case at the moment is building small
-# files. To override, calling scripts should do their own builds to ensure
-# subx_bin is up to date.
-export CFLAGS=-g
-
-case $1 in
-  ex*)
-    ./subx --debug translate examples/$1.subx -o examples/`echo $1 |sed 's/\..*//'`
-    exit $?
-    ;;
-  *)
-    ./subx --debug translate *.subx apps/$1.subx  -o apps/`echo $1 |sed 's/\..*//'`
-    exit $?
-    ;;
-esac
diff --git a/subx/drun b/subx/drun
deleted file mode 100755
index 71b2f0e0..00000000
--- a/subx/drun
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env zsh
-# Run commonly-used SubX programs using the SubX VM in 'debug mode'.
-
-if [ $# -eq 0 ]
-then
-  echo "Usage: $0 <binary name without directory> <args>"
-  echo
-  echo "Naming convention: Binaries starting with 'ex' will be assumed to live in examples/"
-  echo "Other binaries will be assumed to live in apps/"
-  exit 1
-fi
-
-case $1 in
-  ex*)
-    ./subx --debug --trace run examples/$*
-    exit $?
-    ;;
-  *)
-    ./subx --debug --trace run apps/$*
-    exit $?
-    ;;
-esac
diff --git a/subx/gen b/subx/gen
deleted file mode 100755
index 0acbe3d8..00000000
--- a/subx/gen
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Little helper to quickly build SubX programs from the commandline.
-# Only works for programs in some standard places the repo knows about.
-
-if [ $# -eq 0 ]
-then
-  echo "Usage: $0 <file root without subdirectory or .subx extension>"
-  echo
-  echo "Naming convention: Files starting with 'ex' will be assumed to live in examples/ and be self-contained."
-  echo "Other files will be assumed to live in apps/ and need the standard library."
-  exit 1
-fi
-
-# Build in debug mode since the common case at the moment is building small
-# files. To override, calling scripts should do their own builds to ensure
-# subx_bin is up to date.
-export CFLAGS=-g
-
-case $1 in
-  ex*)
-    ./subx translate examples/$1.subx -o examples/`echo $1 |sed 's/\..*//'`
-    exit $?
-    ;;
-  *)
-    ./subx translate *.subx apps/$1.subx  -o apps/`echo $1 |sed 's/\..*//'`
-    exit $?
-    ;;
-esac
diff --git a/subx/run b/subx/run
deleted file mode 100755
index 99de0777..00000000
--- a/subx/run
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env zsh
-# Run commonly-used SubX programs using the SubX VM.
-
-if [ $# -eq 0 ]
-then
-  echo "Usage: $0 <binary name without directory> <args>"
-  echo
-  echo "Naming convention: Binaries starting with 'ex' will be assumed to live in examples/"
-  echo "Other binaries will be assumed to live in apps/"
-  exit 1
-fi
-
-case $1 in
-  ex*)
-    ./subx run examples/$*
-    exit $?
-    ;;
-  *)
-    ./subx run apps/$*
-    exit $?
-    ;;
-esac