Arc Forumnew | comments | leaders | submit | jsg's commentslogin
2 points by jsg 4440 days ago | link | parent | on: [RFC] Macro Fix

I agree. macro transformers would need to refer to the lexical context in which they were defined. strangely, a number of threads in this forum seem to indicate substantial resistance against implementing Arc macros any way other than as simple list manipulations. now granted that 1) straightforward list transformations are easy to understand, 2) there are limitations with _some_ macro systems that provide for lexical references to identifiers in the definition context, 3) inadvertently shadowing identifiers appearing in macroexpansions is unlikely in _other_ Lisps thanks to multiple namespaces, package systems and restrictions on shadowing certain identifiers, and 4) it is a lot more difficult to correctly implement a macro system that solves this problem. however, let's all agree that a hypothetical macro system that _could_ solve this problem would be vastly preferable. arguing against this on the grounds that accidentally shadowing identifiers is a problem you're willing to deal with manually (in a single-namespace Lisp with no module system and no shadowing restrictions) is analogous to arguing in favor of dynamic scoping over lexical scoping as a sensible default.

-----

1 point by jsg 4441 days ago | link | parent | on: Clarification about Character Sets

(setf (gethash x h) (* (gethash x h 1) 2))

-----

1 point by jsg 4445 days ago | link | parent | on: Ask Arc: What's the Arc symbol going to be?

http://clisp.cons.org/impnotes/faq.html#faq-menorah

-----

1 point by olifante 4444 days ago | link

Don't you think the icon should be a bit more neutral? Would you consider using a cross or a crescent? Me neither.

-----

2 points by dmm 4443 days ago | link

WHOOOOOOOOOOOOSH

-----