mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 14:59:55 -06:00
Initial commit
This commit is contained in:
commit
a0e03ddd73
31 changed files with 948 additions and 0 deletions
17
grammar.js
Normal file
17
grammar.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @file Hy grammar for tree-sitter
|
||||
* @author E Dunbar <evdunbar@protonmail.com>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/// <reference types="tree-sitter-cli/dsl" />
|
||||
// @ts-check
|
||||
|
||||
module.exports = grammar({
|
||||
name: "hy",
|
||||
|
||||
rules: {
|
||||
// TODO: add the actual grammar rules
|
||||
source_file: $ => "hello"
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue