Arc Forumnew | comments | leaders | submit | cronin1024's commentslogin
2 points by cronin1024 5589 days ago | link | parent | on: Arc 3.1 (works on latest MzScheme)

If I remember correctly, Arc being tied to MzScheme was supposed to be a temporary thing, which I figured was the reason that Arc wasn't being ported to MzScheme 4.x. Does the work put into porting to 4.x mean that the official branch of Arc is going to stay tied to MzScheme for a good deal longer?

-----

3 points by cronin1024 5873 days ago | link | parent | on: Where are we going?

Yes and no - he may not be selling Arc itself, but his reputation as a Lisp expert is indeed on the line.

-----

7 points by horia314 5873 days ago | link

hardly. I don't think anybody will thing less of him if Arc somehow fails. It was an ambitious project to begin with.

-----

1 point by cronin1024 6015 days ago | link | parent | on: What's next?

If a string was a linked list, the storage and processing overhead would be considerable compared to an array-based implementation with no tangible benefit - how often do you really perform a recursive process on a string or create a new string with the tail of an old string?

-----

2 points by almkglor 6015 days ago | link

cref treeparse. http://arclanguage.com/item?id=5227

-----

3 points by cronin1024 6050 days ago | link | parent | on: I fixed it!

If you're using the "stock" version of arc (the one provided through this site and not Anarki) then I think the only change you need to make is what you'll find here: http://arclanguage.com/item?id=3898

Anarki already contains this patch, and given the amount of time since the Arc2 release, cloning the repository is probably your best bet.

-----

1 point by Jesin 6050 days ago | link

Aah! Didn't know about that, thanks for bringing that up. Yes, the error did say something about (quote nil). That should make things much easier.

-----

2 points by cronin1024 6109 days ago | link | parent | on: How do I Run a Program?

I haven't been using anything so complicated as any of these other responses - I basically fire up the Arc REPL and load in my program. Just call

arc> (load "foo.arc")

Where foo.arc is your program file and it should work fine.

-----

1 point by cronin1024 6112 days ago | link | parent | on: mzscheme v371

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 6112 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.

-----