From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Expanding macros Date: Mon, 24 Sep 2012 23:47:55 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1348523284 6956 80.91.229.3 (24 Sep 2012 21:48:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2012 21:48:04 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Sep 24 23:48:07 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TGGVb-000763-9D for guile-user@m.gmane.org; Mon, 24 Sep 2012 23:48:07 +0200 Original-Received: from localhost ([::1]:33386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGGVW-0008RP-ET for guile-user@m.gmane.org; Mon, 24 Sep 2012 17:48:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGGVS-0008RH-0m for guile-user@gnu.org; Mon, 24 Sep 2012 17:47:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGGVR-0002cH-7M for guile-user@gnu.org; Mon, 24 Sep 2012 17:47:57 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:51987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGGVQ-0002c5-VT for guile-user@gnu.org; Mon, 24 Sep 2012 17:47:57 -0400 Original-Received: by lbok6 with SMTP id k6so772384lbo.0 for ; Mon, 24 Sep 2012 14:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EEWX1DKzlTznaQqb/2YwTLBISpedD3X9LAj02PnAwxc=; b=DE8NhOfhnM2o92v+FUhCdBer/BFMw7PfFCGVZhcxm2JI8UH42DMUOfDswH92I6BPB/ cbO9KzXELv7a1aXsf3gaIGqBftbLtKhVGZP782jA4Omttam5H5jFBWN75VkxtV+GheYQ GOYPpKcgVu2eBgAmQOLTLTpzTScAaLJkHs9hRz25tl7UKXqvTeLzHJpSubqNEIPlBbPX F8borvoAJ/tw67C1cEEC9cYWwSIhe6bCpZLALjQa0jugVlMIVIfpjdAmyPEbpnPY9DXK VUw8m3Xi2mB4nZ3tRYkrgHPAuVefTpD8NUqOV6YIdUQxmzCGGPNV4ufKh0Vc5zocbxxb dF1Q== Original-Received: by 10.152.106.15 with SMTP id gq15mr11531014lab.42.1348523275224; Mon, 24 Sep 2012 14:47:55 -0700 (PDT) Original-Received: by 10.152.20.3 with HTTP; Mon, 24 Sep 2012 14:47:55 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.217.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9594 Archived-At: Hey, is there any legitimate way to expand the scheme macros to the scheme code in guile 2.0? The macroexpand procedure seems only to compile the code to the tree-il language (no matter whether 'e, 'c or any other symbol is passed as a second argument): (macroexpand '(define (f a b) (list a b)) 'e) ; ===> #