Initial commit
This commit is contained in:
17
grammar.js
Normal file
17
grammar.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @file A parser for the MC programming language
|
||||
* @author Matthias Unterrainer
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
/// <reference types="tree-sitter-cli/dsl" />
|
||||
// @ts-check
|
||||
|
||||
module.exports = grammar({
|
||||
name: "mc",
|
||||
|
||||
rules: {
|
||||
// TODO: add the actual grammar rules
|
||||
source_file: $ => "hello"
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user