Arc Forumnew | comments | leaders | submitlogin
Arc on Windows, trouble installing
2 points by globalrev 6098 days ago | 4 comments
i downloaded mzscheme and it works but how do run arc from there? do i need to put the untared arc-files somewhere specific, i mean in a catalogue in the mzscheme-catalogue? i believe the installation guide is for linux or unix?


3 points by skenney26 6098 days ago | link

To get arc running on Windows I downloaded DrScheme (http://download.plt-scheme.org/drscheme/), which includes MzScheme. After installing DrScheme launch the application. When first using DrScheme the IDE will ask you to select a language in the lower left hand corner. I chose PLT -> Textual (MzScheme, includes R5RS). Then go to File -> Open and navigate to as.scm in your arc directory (it doesn't matter where the arc files are located on your system). Click Run at the top of the IDE and the Arc prompt should start up.

-----

1 point by tokipin 6097 days ago | link

here's my batch file:

  cd "c:\documents and settings\account\desktop\arc2"
  mzscheme -m -f "as.scm"
the cd seems to be necessary. my guess is mzscheme takes note of the directory you launch things from, and relative file paths in the arc implementation are considered relative to where you launched the command, not relative to the folder as.scm is in

though i don't use a batch file anymore. not after i implemented a nice automated paste-this-code-from-Vim-to-the-REPL AutoHotkey script

-----

2 points by eds 6097 days ago | link

You can solve the cwd problem by passing a "--load-cd" parameter to mzscheme:

  mzscheme --no-init-file --mute-banner --load-cd C:\path\to\arc\as.scm

-----

1 point by globalrev 6097 days ago | link

ty awesome!

-----