<div dir="ltr">Marc, is there any way I can get the sourcecode filename, name of global define, and line number, that a particular line was compiled at?<div><br></div><div>E.g. (so here, ##file, ##in-define and ##line would be output by the macro so the compiler would actually compile those at line 3, 6 and 8.)</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>(define-macro (loc) `(print "This was printed at " ##file " in define " ##in-define " line " ##line "\n"))</div><div><br></div><div>(loc)</div><div><br></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>(define (something)</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>  (loc))</div></div><div><div><div><br></div></div></div><div><div><div>(loc)</div></div></div></blockquote><div><div><br></div></div><div>?</div><div><br></div><div>Thanks.</div><div><br></div></div>