Conditional compilation (was: Erlang/OTP R10B-10 has been released)

Vlad Dumitrescu XX (LN/EAB) vlad.xx.dumitrescu@REDACTED
Wed Mar 29 09:35:52 CEST 2006


> -----Original Message-----
> From: Richard A. O'Keefe
>> 	I suppose so, but note that Erlang doesn't (AFAIK) have 
>> nestable multiline comments, 
> I don't know any language that has.  Not ones that *WORK*, anyway.
> I am, for example, aware of {- -} in Haskell, and I'm also 
> aware of the trouble they had trying to get them to work, and 
> that they failed.
> I'm also aware of #| |# in Common Lisp, and of the fact that 
> they don't work either.

Is it really that bad? There are languages that have both "regular
multiline comments" and "nestable multiline comments", like D, and I
took this as they made those to work.

I am working on something that requires the same kind of nestability,
and took for granted that it's just a matter of making the parser aware
of the situation and start/stop tokens sufficiently easy to recognize.

Are there any other issues that I should read more about? If yes, do you
happen to have any links handy, or Google is my only friend?

Best regards,

More information about the erlang-questions mailing list