2008/3/15, Rodrigo de Salvo Braz <rodri...@gmail.com>:
> won't compile. I guess the nested strings confuse the parser. Is this
> a bug?
No. This is by design. Use nested string instead:
Nemerle.IO.print(<#This is string interpolation: $(if (true) "true";
else "false";)#>);
> In principle it seems that it can be avoided although it may
> complicate the parser.
The "print" is a macro which take string in parameter. You try pass to
it following literals:
1) "This is string interpolation: $(if (true) "
2) true
3) "; else "
4) false
5) ";)"