Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 402 Bytes

File metadata and controls

15 lines (10 loc) · 402 Bytes

grammarjs-comment

experimental

General comment plugin. Hopefully it's possible to abstract the comment stuff out of most languages most of the way.

Example

var Grammar = require('grammarjs-grammar');
var comment = require('grammarjs-comment');
var grammar = new Grammar('my-grammar');
grammar.use(comment());