[dtrace-discuss] whatfor.d -- where's null pointer?

Adam Leventhal ahl at eng.sun.com
Mon Apr 21 13:05:11 PDT 2008


On Mon, Apr 21, 2008 at 01:54:16PM -0500, Nicolas Williams wrote:
> In the world of LISP macros the macro writer would gensym a local
> variable (probe-local in this case) to deal with this sort of issue.
> 
> Perhaps the DTrace translator facility needs a probe-local gensym
> feature.

Indeed, many languages have a construct to let you create a new scope; adding
one to D might be a good idea.

Adam

-- 
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl



More information about the dtrace-discuss mailing list