about summary refs log tree commit diff stats
path: root/prototypes/browse/cities.txt
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-29 19:21:43 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-29 19:21:43 -0700
commit8bd3c2b5a83d9e8b97472311491010d66a7b7584 (patch)
tree02354322b48589ec70da06211433aa36c50d758b /prototypes/browse/cities.txt
parent6c7f7abdb867084f1e7555105cfa140eae4f6372 (diff)
downloadmu-8bd3c2b5a83d9e8b97472311491010d66a7b7584.tar.gz
6601
Diffstat (limited to 'prototypes/browse/cities.txt')
0 files changed, 0 insertions, 0 deletions
4f9f75dd ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
           
 





                                  
 

                                                                          




                                                                                           







                                    


                                                            
#!/bin/bash
#
# To run a program:
#   $ mu [mu files]
# To run a file of tests (in arc):
#   $ mu test [arc files]
# To start an interactive session:
#   $ mu repl
#
# To mess with load levels and selectively run parts of the codebase, skip
# this script and call load.arc directly.

if [[ $1 == "test" ]]
then
  shift
  ./anarki/arc load.arc "$@"  # test currently assumed to be arc files rather than mu files
elif [[ $1 == "repl" ]]
then
  if [ "$(type rlwrap)" ]
  then
    rlwrap -C mu ./anarki/arc mu.arc
  else
    ./anarki/arc mu.arc
  fi
else
  ./anarki/arc load.arc mu.arc -- "$@"  # mu files from args
fi