18 lines
307 B
JavaScript
18 lines
307 B
JavaScript
/**
|
|
* @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"
|
|
}
|
|
});
|