Category:LSL: Difference between revisions

From Rosetta Code
Content added Content deleted
(Initial)
(Turned off HoPL reference.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{language
The [http://en.wikipedia.org/wiki/Linden_Scripting_Language '''Linden Scripting Language'''], usually just called '''LSL''' for short, is a language developed by [http://en.wikipedia.org/wiki/Linden_Lab Linden Labs] for their [http://en.wikipedia.org/wiki/Second_Life Second Life] virtual world. LSL allows Second Life objects to sense, respond to events, and interact with the (virtual) world around them, and the Avatars in that world.
|hopl=no
}}
The [[wp:Linden_Scripting_Language|'''Linden Scripting Language''']], usually just called '''LSL''' for short, is a language developed by [http://en.wikipedia.org/wiki/Linden_Lab Linden Labs] for their [[wp:Second_Life|Second Life]] virtual world. LSL allows Second Life objects to sense, respond to events, and interact with the (virtual) world around them, and the Avatars in that world.


==Flavors of LSL==
==Flavors of LSL==
There are currently three flavors of the LSL language
There are currently three flavors of the LSL language
# LSL compiled under [http://en.wikipedia.org/wiki/Mono_(software) Mono] (the most recent)
# LSL compiled under [[wp:Mono_(software)|Mono]] (the most recent)
# The original interpreted version (no longer being developed and only exists for backward compatibility)
# The original interpreted version (no longer being developed and only exists for backward compatibility)
# A largely compatible version of LSL that can run in the [http://en.wikipedia.org/wiki/OpenSimulator OpenSimulator] virtual world.
# A largely compatible version of LSL that can run in the [[wp:OpenSimulator|OpenSimulator]] virtual world.


==Documentation==
==Documentation==

Latest revision as of 21:45, 9 May 2021

Language
LSL
This programming language may be used to instruct a computer to perform a task.


Listed below are all of the tasks on Rosetta Code which have been solved using LSL.

The Linden Scripting Language, usually just called LSL for short, is a language developed by Linden Labs for their Second Life virtual world. LSL allows Second Life objects to sense, respond to events, and interact with the (virtual) world around them, and the Avatars in that world.

Flavors of LSL

There are currently three flavors of the LSL language

  1. LSL compiled under Mono (the most recent)
  2. The original interpreted version (no longer being developed and only exists for backward compatibility)
  3. A largely compatible version of LSL that can run in the OpenSimulator virtual world.

Documentation

There are two popular web sites documenting LSL

  1. Second Life's own LSL Portal
  2. a user supported LSL Wiki

Libraries

There exists several open source libraries where users share code

External Editors

There are also many external editors for LSL allowing you to write, syntax check, and (to a limited extent) execute LSL outside of the Second Life environment. You will need to sign up at Second Life and have a Second Life account to execute LSL in the virtual world. Your scripts can exist by themselves in a folder of your inventory, or in an Object in your inventory, but need to be in an Object that is in-world to execute (if an Object containing scripts is taken in to your inventory, the scripts will be suspended and will resume when brought out in to the world again.)