[mercury-users] To the developers of Mercury!

Michael Day mikeday at yeslogic.com
Wed Jan 10 10:56:38 AEDT 2007

> One thing that I think would be a major improvement over vim's Mercury
> syntax file would be highlighting foreign_{proc, code} with the syntax
> highlighting of the target language, rather than just as a string.

That could get tricky, given that it *is* just a string, so nested 
strings in foreign code need to be doubly escaped:

     printf(""Hello, world!\\n"");


     printf(\"Hello, world!\\n\");

Some kind of lexical hack to allow arbitrary text inside foreign code 
would be nice :)


Print XML with Prince!
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list