This is a quick way to run and install Arc 3.1
To try and pull the code with SSH run the following.
git clone https://github.com/udaysinghcode/runarc.git && cd runarc Make sure you have brew installed.
brew -vThis should return a Homebrew version. If not run the following:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"This is to help you deal with parentheses when running the Arc REPL.
brew install rlwrapChange directory and get into the top level of the folder. Then run the following:
rlwrap mzscheme372/bin/mzscheme -m -f as.scm You should be running!
Information from the Arc Language site.
-
Install version 372 of MzScheme. (Don't use the latest version. Versions after 372 made lists immutable.)
-
Get http://www.arclanguage.org/arc3.1.tar and untar it.
-
Type mzscheme -m -f as.scm and you should get an Arc prompt.
-
If you ^C an Arc program, you'll get the Scheme REPL. Use (tl) to get back to the Arc REPL.
-
If you have questions or suggestions, post them on the [forum]1. Install version 372 of MzScheme. (Don't use the latest version. Versions after 372 made lists immutable.)
-
Get http://www.arclanguage.org/arc3.1.tar and untar it.
-
Type mzscheme -m -f as.scm and you should get an Arc prompt.
-
If you ^C an Arc program, you'll get the Scheme REPL. Use (tl) to get back to the Arc REPL.
-
If you have questions or suggestions, post them on the forum.
My repo is just version 372 of MzScheme and the Arc 3.1 codebase stored in a single repo. You can inspect everything if you want. I just found it difficult to explain to beginners how to get an Arc REPL up and running so I stored MzScheme and Arc 3.1 together so all you have to do is download the repo and run the following to get started. Feel free to share!
See Paul Graham's page on Arc and check out the Arc Tutorial to get started.