Get it here.
Printable View
Get it here.
Topic stickied for ease of access.
Needs keywords "break" and "continue"
This is cool. I have been using the ZScript plugin for RText though.
No problem Chummer. :)
My similar SciTE config files, for those of you using SciTE.
I think we both have questionable keywords.
Fixed
The original link unfortunately 404s.
There's also this one: https://drive.google.com/file/d/0BxB...ew?usp=sharing
Haven't used either of them though, so I can't comment on completeness or up to date-ness of it all.
Three years or so ago I changed "zscript.txt" to java/c++ style comments so it could be parsed more easily. There was even some doxygen files at one point. What I ended up using after this was Visual Studio with Visual Assist for auto-complete/syntax highlighting, which also nicely preserves the comments/documentation as well. IIRC you only have to change the file extension and about 8 lines or so to get it working. Not very lightweight for normal users, but easy if you already have these tools installed.
I also wrote a zscript preprocessor a while back which is kind of neat: http://armageddongames.net/showthrea...t-Preprocessor [edit]Crap, this link is also broken. D:
And here's a neat editor written in java with zscript language built-in: http://www.purezc.net/forums/index.php?showtopic=55636
(Disclaimer: Haven't used this one due to my severe java allergy)
I've since updated the Sci|TE config as well, so I may as well post that:
http://pastebin.com/p5W43eN7
Covers nearly all ZScript syntax, but not the std.zh functions. I intentionally omitted Item and Script, so that only the lowercase item and script would be caught as tokens, and highlighted.
I've considered shoving all the std.zh functions into the directives section, so that they can have unique highlighting styles.
I didn't do any preprocessor defs though. I'm kicking meself for not noticing Gleeok's preprocessor in the past. if I ever grabbed that, the memory of it has since fallen out of me ears.
@Temamo can you rehost the file?
the link is broken.