You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
soprano = >c< b >c<
alto = g g g
tenor = e d e
bass = c <b> c
piano: V1: soprano V2: alto V3: tenor V4: bass
Plays normally
However,
soprano = >c< b >c<
alto = g g g
tenor = e d e
bass = c <b> c
melody = V1: soprano V2: alto V3: tenor V4: bass
piano: melody
Throws the error [27713] ERROR Unrecognized event: :name (this happens regardless of whether or not the variable melody is actually used or not).
However,
soprano = >c< b >c<
alto = g g g
tenor = e d e
bass = c <b> c
melody = [V1: soprano V2: alto V3: tenor V4: bass]
piano: melody
Plays normally.
The text was updated successfully, but these errors were encountered:
Voices ended up actually being a red herring. It turns out that there's a bug in the parser that has to do with ending a variable definition with another variable reference.
This works because the foo = line ends with f (not a variable):
bar = c d e
foo = bar f
piano: foo
But this fails with Unrecognized event: :name because the reference to bar isn't getting disambiguated from a "name" token into a "get variable" token.
bar = c d e
foo = bar
piano: foo
Should have a fix out shortly!
daveyarwood
changed the title
voices with variables in variable definitions
Parse error involving variables within variable definitions
Mar 1, 2018
Consider the following code:
Plays normally
However,
Throws the error
[27713] ERROR Unrecognized event: :name
(this happens regardless of whether or not the variablemelody
is actually used or not).However,
Plays normally.
The text was updated successfully, but these errors were encountered: