Arc Forumnew | comments | leaders | submitlogin
How do I invoke Arc3.1 from the command line?
1 point by mk 5243 days ago | 4 comments
A while back this worked,

http://arclanguage.org/item?id=1434

but now with the new version I get

reference to undefined identifier: aload

The work around is probably pretty easy, but I'm not completely familiar with the changes that took place in the move to mzscheme 4.x.

Is there a post that already covers this?



1 point by conanite 5243 days ago | link

This works for me, from a terminal, in my arc3.1 directory:

  $ mzscheme -if as.scm 
  Welcome to MzScheme v4.2.1 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
  Use (quit) to quit, (tl) to return here after an interrupt.
  arc>
What commandline are you using that's giving you the error?

-----

1 point by mk 5243 days ago | link

Sorry I should have been clearer. I can get to an arc repl just fine. Say I wanted to use arc programs from the shell:

$ cat somefile | somearcprogram

How would I get that working?

-----

2 points by palsecam 5242 days ago | link

Disclaimer: self-plug.

You may be interested by this thread: http://arclanguage.org/item?id=10344 - "Arc usable on Unix (include ability to run scripts!)"

-----

1 point by mk 5242 days ago | link

Cool. It looks like they pulled some of your patch into anarki, so maybe I should take a look at it.

-----