Plange


a comment bounded by arbirtrarily-sized delimiters

syntax

"/***" EMBEDDED_COMMENT_INTERIOR "***/"

Example

/**** this is an embedded_comment
***/ the characters at the start of this line have no affect on this ongoing comment
Embed blocks of code that themselves contain block comments:
    /* Do the thing */
    thing();
No problem. Now, lets end this comment. ****/

Notes

This allows for commented code to be safely commented out completely by including a sufficient number of asterisks to serve as an opening and closing delimiter.


copyright © Brent Lewis 2017