If you add macros to your language but don't then define many built in language constructs as macros, you haven't really added macros.
-
-
@avibryant defmacro, defclass, defun.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@avibryant@peterseibel Does the optimized printf in scala 2.10 count? -
@stuhood@avibryant Really that should be a compiler-macro not a regular macro. But nice to see that they're trying. http://www.lispworks.com/documentation/HyperSpec/Body/m_define.htm … -
@peterseibel@avibryant Not sure I see the distinction in the scala impl. Aren't they all compiler macros? -
@stuhood@avibryant No, compiler-macros are macros that get to rewrite function calls to do thing like optimize special cases. -
@peterseibel@avibryant ... something is lost in translation. scala macros run in the compiler. If anything, it's missing runtime macros. -
@stuhood@avibryant In Common Lisp both regular macros and compiler macros run in the compiler. They just serve different purposes.
End of conversation
New conversation -
-
-
@antifuchs@peterseibel totally just wrapping lambdas. -
Tweet unavailable
-
@antifuchs@peterseibel the ultimate trap! But seriously; Smalltalk does it that way and it's fine. [foo and: [bar]] whileTrue: [...] -
Tweet unavailable
-
@antifuchs@peterseibel meh, so there are some extra parens then. Or perfectly idiomatic to define and:and:and: and so on :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.