feat: improve language bindings
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
parent
d0d349c02b
commit
9e5bf6591f
32 changed files with 1132 additions and 195 deletions
11
cli/src/generate/templates/grammar.js
Normal file
11
cli/src/generate/templates/grammar.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/// <reference types="./types/dsl" />
|
||||
// @ts-check
|
||||
|
||||
module.exports = grammar({
|
||||
name: "LOWER_PARSER_NAME",
|
||||
|
||||
rules: {
|
||||
// TODO: add the actual grammar rules
|
||||
source_file: $ => "hello"
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue