[dtrace-discuss] dtrace language reference

Charles Martin
Mon, 14 May 2007 16:44:11 -0000

Guys, it really *isn''t* all there.  I''ve got a couple of bugs
in
already on finding the definitions of various pragmas; I just looked
and the section Jon mentioned doesn''t ... well, to start with it
doesn''t exist in the docs.sun.com version, but the two sections that
seem MECE and to sum to it don''t really say anything about comments
either --- although there are examples of C slash-star comments.  But
then there are things that look like sharp comments, but I know by
experimentation that they work as comments sometimes and other not.
(I was misled by the similarity to Awk to think it was a sharp-comment
language instead of a C comment language.)

I guess the underlying point here is that it''d be nice if there were a
syntax summary somewhere.

On 5/14/07, Michael Shapiro <mws at zion.eng.sun.com>
wrote:
>
> > Is there anything like a formal language reference for D?  I keep
> > running into little weird things (like commenting) that I
can''t find
> > documented anywhere.
>
> It''s all in the Solaris Dynamic Tracing Guide at docs.sun.com.
>
> -Mike
>
> --
> Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
>


--
The key to long life is to immediately forget things. --- Joshu Sasaki
Roshi, on his 100th birthday