external LSL syntax checking environment (e.g. eclipse plugin)
Allows a developer to build scripts OFFLINE with the ability to test ability to COMPILE correctly.
Is this in the pipeline?
These forums are CLOSED. Please visit the new forums HERE
external LSL syntax checking environment (e.g. eclipse plugin) |
|
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-12-2005 22:59
external LSL syntax checking environment (e.g. eclipse plugin)
Allows a developer to build scripts OFFLINE with the ability to test ability to COMPILE correctly. Is this in the pipeline? |
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
12-13-2005 11:38
Possibly these links will help some:
Editors for LSL I use SciTE-ez, which is listed on the page linked above SciTE-ez Someone needs to punish the person responsible for the capitalization of "SciTE-ez". _____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them. I can be found on the web by searching for "SuezanneC Baskerville", or go to http://www.google.com/profiles/suezanne - http://lindenlab.tribe.net/ created on 11/19/03. Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan - |
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-13-2005 17:00
Looks good, but it doesn't seem to perform a "compile" check? Is this correct?
(I was looking for something that can highlight script errors) |
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
12-13-2005 22:25
The scintilla based one at one time - i don't know if it still works properly with all the changes - has autocompletion, which can help to reduce compilation errors, and also used to have an automatic look up the word the cursor is on in the LSL wiki, which also reduces the error rate.
I feel sure a real scripter like Christopher Omega, Catherine Omega, Wednesday Grimm, Jeffrey Gomez, and tons more, not a terrible one like me, that is, would know for a fact if what you want exists, and I suspect the answer is no. So I suspect your feature suggestion is perfectly reasonable. _____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them. I can be found on the web by searching for "SuezanneC Baskerville", or go to http://www.google.com/profiles/suezanne - http://lindenlab.tribe.net/ created on 11/19/03. Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan - |
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
12-13-2005 22:51
You rang?
No, an external compiler doesn't exist. I suspect because the headache of creating the compiler workflow from scratch outweighs the forseeable usefulness of the group that would actually use it: LSL nuts that know most of the syntax by heart. Though if a Linden released the compiler structure, every scripter within ten miles would be on it like flies on shi^H^H^H^H you get the idea. _____________________
---
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
12-14-2005 05:48
Though if a Linden released the compiler structure, every scripter within ten miles would be on it like flies on shi^H^H^H^H you get the idea. |
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
12-14-2005 06:19
Just to clarify, what is being asked for here is not a compiler, one that produces code, but a syntax checker, right?
_____________________
-
So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them. I can be found on the web by searching for "SuezanneC Baskerville", or go to http://www.google.com/profiles/suezanne - http://lindenlab.tribe.net/ created on 11/19/03. Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard, Robin, and Ryan - |
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-14-2005 06:40
Well, the basic stuff, brackets and so on, that's not too hard, a lot of checkers do it automatically.
One could write a further program that looked for functions and checked their parameter types in, say, Perl. You could get the checking data from the official LSL guide, just look for function titles and parse them, then the program would run through everything searching for any of those names and flag up any errors. All the editors I use are happy with that sort of plugin. I doubt I'd use it much myself; while I prefer BBEdit to the SL script editor as an environment, the SL one isn't *that* bad, and being able to instantly compile and test is handy (though adding apple-A apple-C apple-tab click-on-script-editor-window apple-A apple-V isn't that much slower, I'll grant you). Maybe if I ever start doing really large and complex collections of interlocking scripts it would be handy. I'm still at the stage where I make stupid little errors all the time and need to test constantly. |
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
12-14-2005 12:59
Just to clarify, what is being asked for here is not a compiler, one that produces code, but a syntax checker, right? Yes this is correct. I'm in a position where a portion of the time available I won't have connectivity, but it would be great to keep scripting away with some checking. I know for a fact I'll end up with heaps of errors when I finally get to upload the scripts on line and try to compile ![]() Tks |