mary / Treesitter Nova grammar
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 10 months ago
note: untested as of 6/2/2025
| 1 | /** |
| 2 | * @file Nova grammar |
| 3 | * @author nouveau |
| 4 | */ |
| 5 | |
| 6 | module.exports = grammar({ |
| 7 | name: "nova", |
| 8 | |
| 9 | rules: { |
| 10 | program: $ => repeat($.rule), |
capitalex / hello-world.inlang.nils.nv
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 10 months ago
| 1 | |:: documentation for NILS Form| |
| 2 | :@doc string: |
| 3 | "Nova In-Language Static Form is a possible structure for lowering |
| 4 | Nova code into a bytecode language describable in Nova. This is not |
| 5 | intended to be written by hand." |
| 6 | |
| 7 | |:@data stack: reset? :@data seen: $stack $value| |
| 8 | :@data: $stack $value |
| 9 | |:@data stack: reset| |
june / A MIDI Sequencer
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 10 months ago
This is a MIDI sequencer supporting variable-length channels.
| 1 | |:@math: $x :@math: $op $y| :@math: $op $x $y |
| 2 | |
| 3 | |:note: C | :note number: 0 |
| 4 | |:note: C#| :note number: 1 |
| 5 | |:note: Db| :note number: 1 |
| 6 | |:note: D | :note number: 2 |
| 7 | |:note: D#| :note number: 3 |
| 8 | |:note: Eb| :note number: 3 |
| 9 | |:note: E | :note number: 4 |
| 10 | |:note: F | :note number: 5 |