Werner LEMBERG <w...@gnu.org> writes: >> Why make the user wait so long to make him fix a misspelled word or >> make him put a curly brace? A first pass should be done without >> \score blocks and abort (or at least ask if you want to continue!) >> if this first pass produces errors. > > This sounds sensible; maybe this suppression of processing `\score` > blocks can be implemented in Scheme so that LilyPond with a special > command line option acts as a syntax checker.
Have you actually tried? Apart from scores placed in explicit books and bookparts, LilyPond already delegates the typesetting until after the whole input file has been parsed. -- David Kastrup