lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parser questions


From: Bertalan Fodor
Subject: Parser questions
Date: Wed, 28 Dec 2005 15:27:28 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Hello,

I'm very close to finish a Java-based parser for lilypond. I will use this in jEdit-LilyPondTool for instant error checking and advanced code completion and refactoring. However, I found that it not trivial to identify certain token types. So I'd like to ask here to show me examples or explain what these (or some of these) are, or where they come from.
I know two kind: MUSIC_FUNCTION* and MARKUP*etc.

STRING_IDENTIFIER
SCM_IDENTIFIER (I know \major and \minor is one example, but don't see where they come from)
SCORE_IDENTIFIER
CONTEXT_DEF_IDENTIFIER
OUTPUT_DEF_IDENTIFIER
DURATION_IDENTIFIER

Asking from the other side:
what token types are what I can can find in property-init.ly?

Finding these would allow me to make a very good parser DB and parser.

Any directions are welcome.

Thank you,

Bert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]