spiffyscore

Check-in [6a80123223]
Login
Overview
Comment:Replaced roman numerals with note literals
Timelines: family | ancestors | descendants | both | feature/abc
Files: files | file ages | folders
SHA1:6a80123223267d7921b3eb9518ba9dc836a81593
User & Date: brian on 2011-09-13 19:47:46
Other Links: manifest | tags
Context
2011-09-13
20:02
Changed parser to include nodes check-in: 18dba95a2e user: brian tags: feature/abc
19:47
Replaced roman numerals with note literals check-in: 6a80123223 user: brian tags: feature/abc
18:29
Create new branch named "feature/abc" check-in: 3833b59ec2 user: brian tags: feature/abc
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified parse.py from [9c47a4ff24] to [67fb9f1f54].

    38     38           "CHORD_TYPE",
    39     39           "QUOTE",
    40     40       )
    41     41   
    42     42       t_ignore = " |"
    43     43   
    44     44       #t_BASENOTE = r"[A-Ga-g]"
    45         -    t_BASENOTE = r"I+V?|VI*|i+v?|vi*"
           45  +#    t_BASENOTE = r"I+V?|VI*|i+v?|vi*"
           46  +    t_BASENOTE = r"[A-Ga-g]"
    46     47       t_ACCIDENTAL = r"\^{1,2}|_{1,2}|="
    47     48       t_REST = r"z"
    48     49       t_OCTAVE = r"'+|,+"
    49     50       t_CHORD_TYPE = r"m|7|m7|0|o|\+|mb5|sus|sus4|maj7|mmaj7|7sus4|dim|dim7|7b5|m7b5|6|b6|m6|mb6|46|maj9|9|add9|7b9|m9"
    50     51       t_QUOTE = '"'
    51     52   
    52     53       def t_NOTE_LENGTH(t):