Arc Forumnew | comments | leaders | submitlogin
mzscheme v371
3 points by cronin1024 6110 days ago | 3 comments
Hello all,

I haven't studied the source of arc a lot, but I did manage to get it to work on mzscheme v371 by removing the 'nil on line 232 inside ac.scm (the one on its own line in ac-fn). This gives me the arc REPL, and some basic commands I've tried have worked.

Happy Arcing!



4 points by sacado 6110 days ago | link

As far as I remember, it can even work on the latest versions if you take time to change cons, car & cdr by mcons, mcar & mcdr.

-----

1 point by cronin1024 6109 days ago | link

I'm not sure what you mean, do you change those in the Arc source code? I'm sort of new to all of this, just downloaded arc2 a few days ago and got this error in mzscheme on my Mac and FreeBSD box:

compile: bad syntax; function application is not allowed, because no #%app syntax transformer is bound in: (quote nil)

=== context ===

~/arc2/ac.scm:960:0: aload1

That's what my post intends to "fix", assuming that this is a problem for other people. (Fix is quoted because I don't know what functionality this would break)

-----

4 points by absz 6109 days ago | link

The very latest mzschemes—those even more recent than 372—have switched to immutable lists instead of mutable ones; i.e. (set-car! my-lst) and the like no longer work. However, you can get mutable lists with the mcons, mcar, and mcdr operators, and this is what sacado was referring to.

-----