Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Shill: updated syntax files for LSL editors

Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
05-24-2006 14:07
To celebrate the birth of 1.10.0 (and its new functions, events, and constants), I've updated many of the syntax files that power LSL editing. You can find them at the Shill home page .

The process used to update the files is automated. Once the process is working well, I'll release the tools to the SL community. For now, send me your comments, suggestions, and requests to update these or other syntax files.

The files are mostly untested, so I have not yet made any updates to the Wiki. I'll test what I can on Macintosh as soon as possible. Also, if you feel this is a misuse of your original file, let me know and I'll remove it from the collection.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
05-24-2006 14:49
Wow great.

It would be nice if you did one for SciTe.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
50% SciTE
05-24-2006 16:44
I extracted the SciTE files from SciTE-ez (thanks Ezhar!). I was able to update lsl.properties (which handles syntax highlighting?) for 1.10.0 and it is posted at the Shill home page. The lsl.api file includes function signatures, which Shill does not yet support. Tell me how wonderful that would be to help motivate me.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
05-24-2006 23:23
btw how does the auto updating work?
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
05-25-2006 02:05
There *is* a syntax file (not updated for 1.10 afaik) for the current version of BBEdit - I'm not sure where it comes from though, but I have it at home. I'll see if I can find it again on the net; if not I'll upload the copy I have.
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
SciTE 100%, BBEdit, automated update
05-25-2006 09:53
Both files for SciTE (lsl.api and lsl.properties) have now been updated for 1.10.0 and are available at the Shill home page.

Thanks for the note about the BBEdit codeless language module. I found it on the Wiki and updated it.

The update process combines template files (which have placeholders for functions, constants, and events) with the most current list of keywords. You still have to download the updated files and put them in the right places; that part is not automated. I'll provide more details once I've figured them out.
Pericat Aquitaine
Registered User
Join date: 26 Feb 2006
Posts: 24
ooh, shiny!
05-25-2006 22:51
From: Adam Marker
The files are mostly untested, so I have not yet made any updates to the Wiki. I'll test what I can on Macintosh as soon as possible.


BBEdit looks pretty to me, Mr Marker. Thanks very much for your efforts! I am happy scripter.
_____________________
I like ducks. They're just so... ducky.
Weedy Herbst
Too many parameters
Join date: 5 Aug 2004
Posts: 2,255
05-25-2006 22:56
Impressive...nice work! :)
_____________________
sparti Carroll
Script developer
Join date: 23 Feb 2006
Posts: 30
Thank you!
05-26-2006 01:18
Thank you for these updates ;-)


You are a star!
Samson Havercamp
Registered User
Join date: 20 Apr 2006
Posts: 8
where is the new function list for 1.10.0?
05-28-2006 19:35
Where does LL keep a list of the new functions, events, etc? I created the Notepad++ file and I'm happy to update it, but I can't find the list anywhere!!!
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
05-28-2006 19:54
the wiki is usually very up to date on that stuff. http://secondlife.com/badgeo/wakka.php?wakka=HomePage

Try that, (if you don't have the link it's there, if you do, always nice to be redundant sometimes)
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
Shill's sources for functions, events, etc.
05-29-2006 15:03
For Shill, I used several sources. Events, constants, types, and keywords are listed in a file called keywords.ini (look somewhere inside the Second Life folder).

For the function list, I started with the list at the wiki. I compared it to the official LSL guide from LL, but that guide is way out of date. I also removed a couple of functions with, uhm, limited usefulness (llGodLikeRezObject).

The 1.10.0 list of everything is available as a plain text file -- it's easy to see where to split it up if you need: http://adammarker.org/shill/vim/lsl.dict
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
05-29-2006 15:13
on a side note, is lsint.exe being updated at all? If so, where? I find it one of the most useful tools available. If anyone knows, please let the rest of us know.
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
05-29-2006 22:50
in case missed . . . all lslint information is posted here /54/b7/87017/3.html

and was just updated :D
_____________________
Sator Canetti
Frustrated Catgirl
Join date: 20 Sep 2005
Posts: 130
05-30-2006 09:19
I'm in love with this, as I now have an updated list for ultraedit, which I almost never have closed.

Thank you for this :)
_____________________
"Have gone to commit suicide. Intend to return from grave Friday. Feed cat." -- A memo by Spider Jerusalem in Transmetropolitan

"Some people are like Slinkies; not really good for anything, but they still bring a smile to your face when you push them down a flight of stairs."

If you're reading this signature, I've probably just disagreed with you. Welcome to the club :D
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
09-09-2006 08:28
Just wanted to say . . . I use Scite-ez, and your updated syntax files are great!!!! Please keep up the good work keeping the files updated for a very appreciative group!

Baron H.
Aakanaar LaSalle
Registered User
Join date: 1 Sep 2006
Posts: 132
09-09-2006 10:55
On your page, for the Crimson Editor, you state that you have all the words grouped under KEYWORDS0 and KEYWORDS8, and that you lost track of the key file that has them grouped under KEYWORDS0, 1, and 2. (actually you say 1, 2, and 3. I figgured you meant 0, 1, and 2)

I have the file with it seperated into the three groups, and am thinking of seperating it even more, with events, functions, types, flow control, constants, etc all in their own group. A total of about 5 groups.

Would you want either the original or the version I'm gonna make from that sample.txt file?

erm.. yea.. just looked at that lsl.key file you provided, and it looks like a C/C++ syntax file with LSL stuff added.. You definately need to replace that. I'll make a new key file with the keywords seperated as they are in the current key file that i have. Which are: Flow Control and Data Types in Keywords0, Functions in Keywords1, Events in Keywords 2, and Constants in Keywords3.

I guess flow control and data types can go into one keyword section, but they can be edited to seperate later if you wish.
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
09-09-2006 11:33
Hey, thanks for the interest in the project. I'm glad it is of some use. I haven't worked on it since the initial release, but if someone's actually using it, well that's pretty motivational to get back into it. Thanks!

Aakanaar -- I think the other Crimson Editor file was the one posted to Crimson Editor Syntax Files page by Templar Baphomet. It uses KEYWORDS0 - 3.

I'd be happy to add any files you have into the system for auto-update. The current version of Shill only knows about functions, events, and constants. Flow control and data types don't change often, so they could be in the static section of the file.

Thanks again for the interest.
Aakanaar LaSalle
Registered User
Join date: 1 Sep 2006
Posts: 132
09-09-2006 11:54
yea, the file I have is from the crimson editor site, which I do plan to post this new key to there as well, for updating, once I verify a few things.

Your list from the sample.txt has one more data type than the original lsl.key file had. I added it, but am waiting for access to the wikki to verify that it is indeed a datatype. Quaternion

I also found the following functions were i the original key that were not listed in that sample file. I put a comment after them and left them in, untill I can verify that they are indeed depricated and should be removed.
llGodLikeRezObject
llRefreshPrimURL
llSetPrimURL
llSetSoundRadius
llTakeCamera - I am doubting this one depricated. did it? really?

And the original key file had only 15 or 16 of the constants listed. Majorly updated that.

If i can get someone to help me verify the above info or if the wikki comes back online (since the mirrors are out of date) I'll post that here for you

Edit: Ok.. just found a mirror that is up to date (LSL 1.10.0) and verified the above
I don't find quaternion anywhere.. so it'll be removed again.
llGodLikeRezObject is a linden only function but is still a function so it'll stay
llRefreshPrimURL and
llSetPrimURL were going to be added in 1.7 but are on hold indefinately. They'll stay
llSetSoundRadius is not on the list, so it's going to be removed
llTakeCamera is depricated. I'll leave it for now, for older scripts, but remove it later when it's removed from the wikki

I also find functions on the wikki that wern't in the sample file on your site, such as llClearCameraParams. So I'm going to cmpare my key agains the wikki directly. Once done, i'll upload to my web site, but only untill Adam lets me know he's got it and moved it to his site. Then I'll remove it from my site. (Can't seem to attach .key files to this board)
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
Saved me a Job!
09-09-2006 12:24
Wow thanks, I was about 1/4 of the way through converting the NotePad++ version to Scite-Ez I wont bother now!.
Aakanaar LaSalle
Registered User
Join date: 1 Sep 2006
Posts: 132
09-09-2006 13:04
Ok.. finally, verified what I needed to.
the Quaternion shoudln't be on the list, that's a description of the Rotation type. It isn't a type itself.

I've uploaded the new lsl.key to *removed*
(don't bother going to *removed* as you'll find a blank page that I STILL have yet to do anything with.)

Save this in the spec folder under the Crimson Editor, overwriting the one you have already. If you havn't already got the lsl syntax files for crimson editor, Please download the ones from http://www.crimsoneditor.com There are three files, I'm only updating one of them.

Here shortly I'll put this in a zip file with the others and upload to Crimson Editor as well.

Oh, and once Adam replies here that he's got the file, it's comming down off of my site. Untill then, you can grab from here.

CrimsonEditor now has the full, updated syntax file available. I included all three files inthe zip file at their site.

Edit: Now that the key is at the shrill site, I am removing it from mine.
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
09-09-2006 13:06
Interesting stuff. quaternion appears to be an outdated synonym for rotation. The SL editor accepts quaternion, but doesn't highlight it as a keyword. Off with its head.

I made some editorial decisions on some of the functions, like llGodLikeRezObject. Since your average resident can't use it, I skipped it. It would be nice to have a couple of preference switches in Shill to include or exclude the fringe functions.

I'm not sure what happened with the camera functions. The altwiki says llClearCameraParams was added in 1.9 -- so it should have been on my 1.10 update. I'll review those for the next release.

Thanks for checking on all that stuff. The idea was to keep things as up to date as possible -- automatically. It still has a way to go but every bit helps.
Adam Marker
new scripter
Join date: 2 Jan 2004
Posts: 104
09-09-2006 14:06
I've copied your lsl.key file to the Shill site. Thanks for the update!
Seraph Bedlam
Registered User
Join date: 5 Jan 2006
Posts: 8
Smultron for LSL
11-30-2006 09:21
I created a Linden Scripting Language syntax definition for Smultron which I use on my Mac. It will be bundled in the next release of Smultron. If you would like to host it on your site, you could send me your email address and I'll happily pass it along.

It would be good to have it openly available so that people smarter than me can make improvements!
_____________________
Tasseomancy - loose leaf tea, chaos magick courses, dream interpretation, poetry workshops/readings, original art and clothing.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
11-30-2006 13:03
OKie.. I'll bite..

I'm a PC user, running Windows XP, SP2. (yeeech)
I'm an old school mac user, and loved loved loved my BBEdit. Since moving to the PC, I have been using (x)HTML-Kit http://www.chami.com/html-kit/ (which kinda wins my award for most confusing webpage).

Anyways.. it's great for HTML editing, but like BBEdit was becoming (when last I saw it) it was a tad "feature heavy". Now, thanks to SL.. I find myself in want of a text editor that will colour code reasonably properly... handle the rare perl, php or javascript... and something that can handle my occasional xhtml hand-coding binges. (line numbers would help a lot too)

Can anyone reccommend an editor for my needs, from the ones that can handle the LSL part?
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
1 2