bb <[email protected]> writes:

> The essential point: The case of nested block comments is not mentioned
> in the manual. (Or I cannot find it?)
>
> #################################
>
> off topic:
>
> Have you heard about Lua? Nice language!
>
> |  print ("This will be printed first")
>   
>   --[===[ Comment out a whole big block!
>   
>   --[[ This is a multiline comment telling you about
>   the work this code is doing ]]
>   
>   print ("This will not be printed in the middle")
>   
>   --[[ This is another multiline comment telling you about
>   the work this code is doing ]]
>   
>   end of big block comment ]===]
>   
>   print ("This will be printed last")|

Not nested comments but rather an unlimited pool of comment delimiters
for unnested delimited comments.

> MATLAB
>
> d = [0 -1 0];
> %{
> %{
> (Example of a nested comment, indentation is for cosmetics (and ignored).)
> %}
>   We form the sequence, following the Taylor formula.
>   Note that we're operating on a vector.
> %}
> seq = d .* (x - c).^n ./(factorial(n))

That seems more like a valid example.  But few languages have something
like that.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to