Arc Forumnew | comments | leaders | submit | pg's commentslogin
3 points by pg 5732 days ago | link | parent | on: Ask PG: Contributing to Arc

Most of the code contributed by other people has been posted here. If it's too long you could post a link to it.

-----

6 points by pg 5745 days ago | link | parent | on: Ask PG: Rewrite the arc compiler in arc?

It's not an explicit goal, but I'd consider it, sure.

-----

4 points by pg 5763 days ago | link | parent | on: Show Arc: first program

I happened to notice this

    (def doomed? (u)
      (is (len (keep [alive? _] u)) 0))
which could be

    (def doomed? (u) (~find alive? u))

-----

4 points by pg 5763 days ago | link | parent | on: As.scm and relative paths

This isn't a deliberate design choice. I've just been focusing on other things.

-----

3 points by conanite 5762 days ago | link

I haven't forgotten http://www.paulgraham.com/arc0.html :

  *Arc is still a work in progress. [...] it's
  still in the semi-finished state most software
  is, full of hacks and note-to-self comments about
  fixing them.*
It's good to know that the principle of invoking arc as a script-runner isn't excluded.

-----


It looks like you may somehow be using old versions of some files, if esc-tags isn't defined.

-----

1 point by thaddeus 5763 days ago | link

yep - It was just me. ugh.

Silly me - I decided to add version nums to my arc directories...and missed one parameter.... - thanks for both replies. T.

-----

2 points by pg 5763 days ago | link | parent | on: Ask Pg: Can you please update tutorial?

I took a quick look at it when I released Arc 3 and I didn't notice anything that had changed. Is there?

-----

3 points by palsecam 5763 days ago | link

Maybe you changed the tuto since that, but if not, see: http://www.arclanguage.org/item?id=9875 (that was 47 ago, on a thread when you announced new features to arc3.tar, which was then "fairly recent").

-----

5 points by pg 5763 days ago | link

Oh, you mean update in the sense of expand? Yes, I'm working on it.

-----

2 points by pg 5765 days ago | link | parent | on: Atstring problem

Right: @@ to escape. Eventually I'll take over the reader, but it's not the top priority at the moment.

I'm not sure I'll even keep @strings. I find I don't use them as much as I expected. Does anyone use them a lot?

-----

1 point by rntz 5764 days ago | link

I find them quite useful for my irc bot, although I do run into the problem of not being able to @-substitute a simple variable unless it's going to be followed by something not permissible in a symbol. In particular, colons will be parsed as part of the symbol, which is a PITA. There is a workaround for this, but it's ugly:

  arc> (with (nick 'hbovik msg "hullo there") "@(idfn nick): @msg")
  "hbovik: hullo there"

-----

1 point by coconutrandom 5764 days ago | link

I tried for half a second, but dropped it in favor of string substitution.

-----

1 point by pg 5765 days ago | link | parent | on: Noisy-each bug ?

Yes.

-----

4 points by pg 5765 days ago | link | parent | on: Bug or lisp gotcha?

Actually this behavior can be quite useful in some contexts. It took some effort to make it possible.

-----


Robert fixed it in 3.1.

-----

More