Initial commit

This commit is contained in:
2026-01-17 15:37:53 +01:00
commit ccd44c8172
31 changed files with 952 additions and 0 deletions

17
grammar.js Normal file
View 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"
}
});