Utilities to help keep the python-ly ly/words.py
file up to date.
It's easy for words.py
to get out of sync with the online documentation.
This script provides an easy way to compare words.py
to the LilyPond online index. It
looks for entries online that start with a backslash () then checks words.py to see
if they are present there. If not, the online term and a little context is printed.
When updating words.py
with new commands, it's sometimes helpful to know the
earliest version it is found on, or to get some more context of the word. This script searches
for a "raw" word (that is, unadorned) or with a backslash () prepended and a word boundary
at the end. The changes, music functions, commands, and full index are searched from online
documents. The different versions that a checked are in the "versions" tuple.