https://sites.google.com/site/arclanguagewiki/home
http://racket-lang.org/learning.html
In this particular case I'm not sure whether it's worth packaging, because it's in such flux. But I'm curious as to the correct approach for such cases.
After downloading arc, you unpack the tarball and call the executable with mzscheme (which is part of racket) like this:
Code: Select all
mzscheme -f ./as.scm
as.scm is just one of the files in the tarball. But all are needed for it to work.
My specific question is where to put the contents of the tarball. /usr/bin should presumably contain a single wrapper script that calls the rest ...
like this:
Code: Select all
cat /usr/bin/arc
#! sh
cd /foo/bar/arc-3.1
mzscheme -f as.scm
Just to make it a bit more complicated, for actual use (to provide a command line history in the REPL) it is recommended to call mzscheme with rlwrap:
Code: Select all
rlwrap mzscheme -f as.scm