Arc Forumnew | comments | leaders | submitlogin
Macros: Arc internals part 2 (arcfn.com)
15 points by kens 6145 days ago | 10 comments


3 points by NickSmith 6145 days ago | link

Ken this is just brilliant. As a noobie this is so useful.

I don't know if you take requests ;-) but one of your little guides on server side functionality (sockets, ports, IO and all that) would be really good. That's still a big gray area for me. Alternately, if anyone could point me to any good learning resource, then that would also be appreciated.

-----

3 points by zin 6145 days ago | link

Another thing would be persistence, save-table, load-table, etc.

-----

2 points by babo 6145 days ago | link

With an up-to-date version from anarchi repo I've got quite different results, macro executed printed twice when executing the macro. Smells like a bug.

-----

3 points by almkglor 6145 days ago | link

Noticed that too while debugging a macro last night. I thought that was how Arc worked, I haven't actually used Arcn since I got arc-wiki.

-----

2 points by babo 6145 days ago | link

It's a bug in anarchi version, the stable branch is fine.

-----

2 points by nex3 6144 days ago | link

This was cause by the REPL-variable stuff. It's been fixed now.

-----

1 point by babo 6144 days ago | link

Thanks!

-----

1 point by sjs 6144 days ago | link

This is great kens. Thanks for all the docs.

[nitpick] In the 3rd last paragraph this part isn't really clear:

  "Except for macex1, ac-macex is then called recursively..."
              ^^^^^^
The first time I read it I thought you meant that ac-macex was called recursively for macex1, which is obviously not what you mean.

-----

2 points by kens 6144 days ago | link

I appreciate the nitpick; I've changed the text to be clearer. (In general, I welcome feedback on how to improve the docs, especially if I'm blatantly wrong about anything.)

-----

1 point by sacado 6145 days ago | link

excellent

-----