Open
Description
If you want an unsupported language added, provide:
- language name: Civet
- file extension(s):
.civet
,.cvt
,.cvtx
- method(s) of commenting text: Civet is a bit complicated here. Civet has two comment modes, with one triggered by a string directive at the top of the file -- think like JS
"use strict";
.
By default,//
is line comments and/* ... */
is block comments, like in JS.///
may start a line comment only at the top level of the file; inside an indented block, it serves as a multiline regex delimiter.
In coffeeComment mode, which is triggered by"civet coffeeComment"
or"civet coffeeCompat"
, the above comment styles don't work, and instead line comments are marked with#
. Note that JS-style comments and"use strict"
may occur before this directive (but no other code can).
In both modes,### ... ###
is a valid block comment.
If it weren't for the CoffeeScript compatibility mode, this would be fairly easy for me to add myself.
Metadata
Metadata
Assignees
Labels
No labels
Activity