Arc Forumnew | comments | leaders | submitlogin
1 point by crownoflaurel 5494 days ago | link | parent

I've only gotten about a quarter through this, but I like what I've heard. Is there a place where I can experiment, aside from the one already mentioned?


1 point by thaddeus 5493 days ago | link

As suggested by aw you should start by installing arc.

Arc is a layer built upon scheme, thus to use arc you also need mzscheme.

I normally start by downloading arc from here -> http://ycombinator.com/arc/arc3.1.tar

Unpack the 'tar' file and put it somewhere you're happy with.

Then get the latest version of MzScheme here -> http://download.plt-scheme.org/mzscheme/.

I generally take the scheme folder and put it inside the arc folder. This is not required, but earlier I found it easier to manage as they become one movable install.

Arc is best suited to unix/linux or mac operating systems. Arc has some issues on Windows, but In the past I still managed to get it working on windows.

If you're using a unix/linux or mac os you need to find the Terminal application that is already there and launch it.

In the terminal window you need to navigate to the arc directory. You can do this by typing 'cd' (change directory) followed by the path to the arc folder...

In my case:

  Terminal $ cd /users/thaddeus/arc
If all goes well, as a test, you should be able to type 'ls' which will show you the files existing in the arc directory.

  Terminal $ ls
  
now to you can invoke arc by typing (note change the paths to respect your install directories):

  Terminal $ /users/thaddeus/arc/scheme/bin/mzscheme -f as.scm 
which should provide an Arc prompt:

  arc>
Then you're off to the races.

Windows is similar only you're using the 'cmd' utility rather than the terminal.

You can start 'cmd' (command prompt) by going to your operating systems 'Start' button then select 'Run' and type 'cmd' into the text entry box (& hit 'ok'). A dialog window should come up. Here you also need to navigate to the arc directory:

Mine starts like this:

  C:\Documents and Settings\thaddeus>_
So I change the path to the arc directory like so (note change the paths to respect your install directories):

  C:\Documents and Settings\thaddeus> cd C:\thaddeus\arc
which changes the prompt to:

  C:\thaddeus\arc>
I then invoke arc like so:

  C:\thaddeus\arc> C:\thaddeus\arc\MzScheme\MzScheme.exe -f as.scm 
And you should get an arc prompt

  arc>
I typed all this up on my lunch hour at work, so I didn't actually do the steps - just memory recall. So if you hit a snag ask, I may have typed something wrong.

There's a few other resources for you:

1. Easy means to search the arc forum: http://af.searchyc.com/

2. Good documentation: http://arcfn.com/doc/index.html

-----

1 point by thaddeus 5489 days ago | link

If you're not tied to arc, a good online learning tool can be found for the Ruby language...

http://tryruby.sophrinix.com/

It's brilliant for day one programmers - Arc should really have something this nice.

-----