Andrew Gwozdziewycz on 4 Feb 2008 08:48:13 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: good example of macros?

  • From: "Andrew Gwozdziewycz" <apgwoz@gmail.com>
  • To: philly-lambda@googlegroups.com
  • Subject: Re: good example of macros?
  • Date: Mon, 4 Feb 2008 11:48:02 -0500
  • Authentication-results: mx.google.com; spf=pass (google.com: domain of apgwoz@gmail.com designates 209.85.162.182 as permitted sender) smtp.mail=apgwoz@gmail.com; dkim=pass (test mode) header.i=@gmail.com
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to:received:received:received-spf:authentication-results:received:dkim-signature:domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe; bh=5L5kgO3IL//PAdcAe3EnnMY2bCoQsxrw78OWAmueoiM=; b=VRexzCCHD5uBk04jaG+T2Gb8cPL5ZvoCf/Wg3vU7mDaqKt78+eTIBL4cMOHtcgLWFXGqheYYcwmypnhYsWE9gLz8neOzsfrIDpafnACgs6o3ttUkJ0lbxyEzuORxDbENl66eFnpqoqum1y+briN8jvQEziM3ubb9hT8J3Cmc5T8=
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=AGCqJ1fASrTAyvf3Bxg2BcZLerSIYUlq1fLGi6TwCXo=; b=neN8uyyH2zx9M0/g3X312OoUxPizKEcS1nGT0AuBf0XXk5m53wR4jfDPse4wFGLhbWSuOPk6cLo0ZGgF4MtiFxC8ljsinCWDhB/puc6xOt2eE+PrM72a1TMaRjU/V7VRP2wI0WvF63KA2+WILcsAPfxfcPTZJuqYo4SQ5iauFpU=
  • Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda-owner@googlegroups.com
  • Reply-to: philly-lambda@googlegroups.com
  • Sender: philly-lambda@googlegroups.com

On Feb 4, 2008 9:19 AM, Kyle R. Burton <kyle.burton@gmail.com> wrote:
>
> One of the things I've been struggling with in creating the
> presentation is how to show 'the power of lisp' - which I think boils
> down to abstraction, DSLs and language building.
>

> My plan was to show cut as an interactive session in emacs/slime/lisp
> and talk through it in action rather than just point at it on one of
> the slides:
>
>   http://asymmetrical-view.com/lisp-presentation/cut.lisp
>
> What do you think?
>
> I want to make sure I cover things that the group will find useful
> (beyond "here's where to download lisp").

Great idea.

One set of macros that has always interested me was the automata
example in this paper:
http://www.cs.brown.edu/~sk/Publications/Papers/Published/sk-automata-macros/paper.pdf
by Shriram Krishnamurthi.

It really shows the power of what can be done. cut, while a great
macro and a way to save some keystrokes really doesn't do macros
justice.

-- 
Andrew Gwozdziewycz
apgwoz@gmail.com
http://www.apgwoz.com  | http://www.photub.com