AWK syntax file

Started by rjbull, May 29, 2009, 02:44:19 PM

Previous topic - Next topic

rjbull

AWK bundle in library

Does anyone have a syntax file for AWK, please?

Note to anyone contemplating making one: both Crimson Editor and Notepad++ have AWK syntax files, both (I think) as extra downloads from their respective Web sites, not included in the basic package.

alex

Hi rjbull,

as I see creating of the schema is a big deal for users ;)
Would it help if I would provide some draft here and then you would check it, extend and maintain further?

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

Here is draft of the spec file for awk.
If somebody would check it and extend would be fine.
Also having some templates would be also fine...
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

rjbull

Many thanks, Alex!   :)  I don't have the skill to extend it or anything, but on a quick look, it seems fine.


samuel1991

How big can syntax files be? Why must it be offered as separate download? I suggest that to be added into main package, but installer can let user choose what syntax to install. (Isnt this implemented in HE Installer)

alex

Not so big. For now, biggest schema is 500K (Java). But the reason of removing (or not placing) of the schema into installer, is not the size (it also matter, but this is not a main reason) but amount of installed non necessary schemes on client side. It force you to disable syntaxes, and this is not a obvious/trivial for novice. Of course I can have standard installation with minimum set of languages like now and full with all included, and have standard as default in installer, but in some cases lazy would select full and get same situation.

And from another side Online functionality planned for 1.50 which would download schemes on demand from HippoEDIT server (based on open files) or explicitly with dialog. So I think current situation is OK, but I would keep in mind your opinion and would extend set of installable schemes if more people would complain.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]