Open dliessi opened 8 years ago
See also #54.
It's a nice idea! But how is the generated data used more exactly? It seems to me that more is needed than just regenerating a file.
To support every development version is something completely different from supporting every stable. Can we handle such a commitment?
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Sorry if I was unclear! I was writing about managing every release, not supporting more than two at a time.
Again, I like the idea but I'm concern about the level of commitment that it implies.
If it is as easy as regenerating a data file on every dev version as seems to be assumed perhaps it can be done! But the manual update needed in #54 (for example) puts that in doubt.
Ideally, python-ly
should be able to run LilyPond to get generated data and cache that. It should by default cache the latest stable version and the latest development, and maybe also for old versions etc.
A little problem however is the tokenizer (ly.lex
), which also uses wordlists. But ly.lex
is currently not able to handle dynamic changes, all definitions are global and the same everywhere. So having LilyPond-version dependent parsers is quite involved now.
As Urs wrote in https://github.com/wbsoft/frescobaldi/pull/203: