Re: [Chicken-users] source file and line number where a macro is called?

2010-05-24 Thread Alejandro Forero Cuervo
> From: Alejandro Forero Cuervo > Subject: [Chicken-users] source file and line number where a macro is called? > Date: Mon, 24 May 2010 15:18:18 +0200 > > > I'm working in a logging extension. Simplifying, I would like to be > > able to write

Re: [Chicken-users] source file and line number where a macro is called?

2010-05-24 Thread Felix
From: Alejandro Forero Cuervo Subject: [Chicken-users] source file and line number where a macro is called? Date: Mon, 24 May 2010 15:18:18 +0200 > I'm working in a logging extension. Simplifying, I would like to be > able to write in my code an expression like: > > (

[Chicken-users] source file and line number where a macro is called?

2010-05-24 Thread Alejandro Forero Cuervo
I'm working in a logging extension. Simplifying, I would like to be able to write in my code an expression like: (logging "Starting evaluation of foo") To cause an entry like "fooeval.scm:94: Starting evaluation of foo." to be written to some file. The key aspect is to be able to trace back