/runarc

How to get Arc quickly running in under four steps

Primary LanguageSchemeOtherNOASSERTION

How to Run Arc 3.1

This is a quick way to run and install Arc 3.1

1. Pull repo

To try and pull the code with SSH run the following.

git clone https://github.com/udaysinghcode/runarc.git && cd runarc  

2. Install Homebrew

Make sure you have brew installed.

brew -v

This should return a Homebrew version. If not run the following:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

3. Install rlwrap

This is to help you deal with parentheses when running the Arc REPL.

brew install rlwrap

4. Run Arc with MZScheme 372 Compiler

Change 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!

Additional

Information from the Arc Language site.

Arc Language Installation Instructions

  1. Install version 372 of MzScheme. (Don't use the latest version. Versions after 372 made lists immutable.)

  2. Get http://www.arclanguage.org/arc3.1.tar and untar it.

  3. Type mzscheme -m -f as.scm and you should get an Arc prompt.

  4. If you ^C an Arc program, you'll get the Scheme REPL. Use (tl) to get back to the Arc REPL.

  5. 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.)

  6. Get http://www.arclanguage.org/arc3.1.tar and untar it.

  7. Type mzscheme -m -f as.scm and you should get an Arc prompt.

  8. If you ^C an Arc program, you'll get the Scheme REPL. Use (tl) to get back to the Arc REPL.

  9. If you have questions or suggestions, post them on the forum.


My Repo Installation

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.