|
Bunni Menizah
Bunni Foo foo
Join date: 4 Dec 2008
Posts: 216
|
07-20-2009 08:41
Is there a separate program outside of SL that I need to download for a de-bugger and compiler for linden script language or do I need to use the SL browser? Sorry, basic question... 
_____________________
"Forget regret, or life is yours to miss." -Rent
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
07-20-2009 08:48
There are several editors out there that you can use to compile an LSL script. I use the LSL editor, which you can download at  , but I'm sure other people have their own favorites to suggest. Actually, though, a lot of the time it's easiest to do everything in world. Create a prim, go to Contents and check the New Script button. Then replace the default Hello Avatar script with one that you create. The advantage of doing it in world is that you can get the script to actually DO things, not just compile. The disadvantage is that it's a pretty dumb editor with inscrutible error messages. Take your pick.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
07-20-2009 09:58
lots of people just use notepad (which won't tell you if you've got errors)
one benefit of doing it inworld is if you're eternally forgetful (like me) then once you type in a function, if you mouse over it you get it's return type, and the the number/type of arguments it's supposed to have (an occasionally some helpful bit of information on what it actually does)
lsl Editor will let you run the script outside of SL, but it's finicky about some things... if you just want highlighting/brace matching and that sort of thing, notepad++ is good for that (although a few of the definition files are out of date, I need to post some new ones)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
07-20-2009 10:07
LSLEditor is recommended. You can test most functions and it spotlights any bugs you have. Unfortunately it is no longer supported and the newest functions are not there. But it is still the easiest and best solution for new people to work with. It will also get you in the habit of keeping copies of your scripts in your hard drive where they belong  I myself use a heavily modified version of Scite. That gives me the ability to use my own pre-defined global definitions and also use includes. Also have it setup to send the script over to LSLEditor for testing offworld.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
07-20-2009 10:08
From: Bunni Menizah Is there a separate program outside of SL that I need to download ... The direct answer to the original questions is "no". There is an editor and compiler built-in. As others have pointed ut, there are some external tools with various capabilities.
_____________________
So many monkeys, so little Shakespeare.
|
|
Nalates Urriah
D'ni Refugee
Join date: 11 Mar 2008
Posts: 113
|
07-21-2009 20:48
Eclipse also has a plugin for LSL programming. One can run and debug scripts in it. I don't know how well it works. I use LSLEditor.
If he had sold LSLEditor on XStreet he might have made a good income from it.
There is a group from Myst-Uru playing in SL. I made them a programming tutorial on one of the Myst-Uru fan sites.
http://www.guildofmaintainers.org/Forum/viewtopic.php?f=111&t=1280
There is a graphic programming tool known as S4SL made by M.I.T. If you are totally new to programming and only need simple scripts check it out. There are links on the page referenced.
_____________________
Nalates Urriah D'ni Refugee - Guild of Cartographers
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
07-21-2009 21:11
::goes to check out scratch:: wonder how efficient the code is... (not expecting miracles)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Nalates Urriah
D'ni Refugee
Join date: 11 Mar 2008
Posts: 113
|
07-23-2009 08:43
Efficient... from a technical point... not very. Not horrible.
Form a new programmer's perspective it drops the learning curve, provides good leaning examples and clearly shows a structured approach. So I think it is a very efficient 'learning tool' or short cut for small simple scripts.
_____________________
Nalates Urriah D'ni Refugee - Guild of Cartographers
|