lilypond-user
[Top][All Lists]
Advanced

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

Re: Ace editor - Lilypond support


From: Urs Liska
Subject: Re: Ace editor - Lilypond support
Date: Mon, 09 Mar 2015 17:48:12 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Am 09.03.2015 um 14:34 schrieb Erik Nilsson:

Hi,

I'm considering creating a syntax highlighter for Lilypond code for the Ace
javascript code editor (http://ace.c9.io/). I think it would be useful for
tools like for instance weblily (http://www.weblily.net/).

Is there a clear definition of the lilypond language that one could use as the
basis for such work? Does anybody know of other syntax highlighters out there
(Frescobaldi, Emacs, Sublime or whatever) that would be a good starting point
(being fairly complete, readable code).

Regards,

Erik


Frescobaldi's code base is generally very readable Python code.
You may start browsing here:
https://github.com/wbsoft/frescobaldi/blob/master/frescobaldi_app/highlighter.py
and here:
https://github.com/wbsoft/python-ly/blob/master/ly/colorize.py

Good luck
Urs


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



--
Urs Liska
www.openlilylib.org



reply via email to

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