Differences From Artifact [7bbfef5961]:
- Executable file parse.py — part of check-in [729263ecd0] at 2010-11-13 08:26:53 on branch ply — Added basic ABC tokenizing via the PLY module (user: spiffytech@gmail.com, size: 662) [annotate] [blame] [check-ins using]
To Artifact [17628fda61]:
- Executable file parse.py — part of check-in [ff84293301] at 2010-11-13 08:28:35 on branch ply — Added basic ABC tokenizing via the PLY module (user: spiffytech@gmail.com, size: 668) [annotate] [blame] [check-ins using]
1 2 | #!/usr/bin/env python | | | 1 2 3 4 5 6 7 8 9 10 |
#!/usr/bin/env python
from ply import lex, yacc
tokens = (
"NOTE",
"REST",
"SHARP",
"FLAT",
"OCTAVE",
|
| ︙ | ︙ |