truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
111 stars 13 forks source link

change chord separator #83

Open truj opened 9 months ago

truj commented 9 months ago

The default value for chord separator and pattern index separator is ,. This is not good because it prevents to pass a chord as a variable to a function or pattern call. Another reason: It makes it harder for the parser to distinguish between a chord and a sound effect pipeline (#28).

So the chord and index pattern separators should be changed either to ; or /. ; would look pretty similar while / would be more familiar to alda programmers.

This is a breaking change, and it includes:

It should be done in the same branch as #28 - because #28 is so cool that it deserves to be published with a new version number.

truj commented 8 months ago

It doesn't make any sense to use a different character for chord separator and pattern index separator. They should be united.