Moving things around

This commit is contained in:
2023-03-04 12:36:09 +02:00
parent 5fd03fac6b
commit 13f68f7ee7
6 changed files with 864 additions and 785 deletions

View File

@ -1,6 +1,6 @@
// Root for the rules
?root: sequence -> start
sequence: (pitch_class | repeat_item | assignment | variable | rest | dur_change | oct_mod | oct_change | WS | measure | chord | named_roman | cycle | random_integer | random_pitch | random_percent | range | list | repeated_list | lisp_operation | list_op | subdivision | eval | euclid | repeat)*
sequence: (pitch_class | repeat_item | assignment | variable | variablelist | rest | dur_change | oct_mod | oct_change | WS | measure | chord | named_roman | cycle | random_integer | random_pitch | random_percent | range | list | repeated_list | lisp_operation | list_op | subdivision | eval | euclid | repeat)*
// Pitch classes
pitch_class: prefix* pitch
@ -18,6 +18,8 @@
ass_op: /[=~]/
variable: /[A-Z]/
variablelist: variable variable+
// Durations
duration_chars: dotted_dur+
dotted_dur: dchar dot*