On Tue, 5 Aug 2003 [EMAIL PROTECTED] wrote:

> 1/ Ignore comments except pseudo comments
> 2/ Combine lines
> 3/ Parse the resulting logical line
> 4/ Parse pseudo comments

I think the easiest solution would be to allow pseudo
comments _only_ on a line by themselves.

Then we could use the following scheme:

A/ If the line starts with "%%", interpret
the line as a pseudo comment, and go to
the next line.

ELSE:

B1/ Treat everything starting from the first
occurrence of "%" till end-of-line as white space.
B2/ Combine lines.
B3/ Parse the resulting logical line.

This would allow:
A,B,C \ % a line of music
DEF

But would not allow:
%% MIDI voice P\
instrument=1

Wil (and others), would that be acceptable?

Any other comments on the standard?

Irwin
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to