recentpopularlog in

mcherm : macros   4

Not everything is an expression
Incredibly well written essay on a weakness in Lisp's macro system. Includes features like letting the reader switch languages.
programming  languages  languagedesign  lisp  macros  via:reddit 
december 2018 by mcherm
Separating the concern of "what to do" from "how to do it quickly"
Raganwald writes a code-rewriter for Ruby. One use, he suggests, is to write things using one syntax, then systematically transform to a different syntax that runs faster. Similar to a compiler optimization.
programming  raganwald  languagedesign  macros 
july 2008 by mcherm
Why Hygienic Macros Rock
Thoughts on hygenic vs non-hygenic macros. Non-hygenic macros are better for complex macros, hygenic are better for simple ones and integrate better with tools.
programming  scheme  lisp  macros 
june 2008 by mcherm
Digging into Ruby Symbols - O'Reilly Ruby
A useful essay on Ruby. Starts by talking about how you can use eval to generate code at runtime, with easy-to-follow examples that are very well-written. Then he gets into a description of Lisp macros and how THEY could be put into Ruby. Overall, a VERY
ruby  languages  languagedesign  metaprogramming  programming  essay  macros  articles/programming 
december 2007 by mcherm

Copy this bookmark:





to read