Revision as of 20:23, 26 December 2005 editThunderbrand (talk | contribs)Extended confirmed users16,545 edits {{cvg-soft-stub}}← Previous edit | Revision as of 07:58, 9 February 2006 edit undoEep² (talk | contribs)7,014 editsm →External links: - added trailing slash to LSL Wki linkNext edit → | ||
Line 16: | Line 16: | ||
* official website | * official website | ||
* official website | * official website | ||
* , a community effort to supplement the available ] documentation | * , a community effort to supplement the available ] documentation | ||
* Information regarding the move to Mono | * Information regarding the move to Mono | ||
Revision as of 07:58, 9 February 2006
Linden Scripting Language, or LSL, is the programming language used by players in Second Life, a Massive Multiplayer Online Game by Linden Lab. LSL scripts can control the behavior of in-world objects. LSL has a syntax similar to C. LSL allows objects to interact with the Second Life world and the Internet (via email and XML-RPC).
A sample Hello World Program looks like:
default { state_entry() { llSay(0, "Hello World!"); } }
Linden Scripting Language is a state-event driven scripting language, it consists of multiple programming states each containing a list of events which may be triggered while the program is within that state. Linden Scripting Language is the only known complete language of this kind.
At time of authoring, there are over 380 library functions available, with the ability for users to declare additional global functions within programs. More than 30 events allow a script to react to various kinds of input such as mouseclicks, keyboard controls, chat, email, or collisions (from the integrated physics engine). LSL is a strongly typed language that is compiled to bytecode before runtime execution in a virtual machine on one of Linden Lab's servers. Second Life 2.0 scheduled for Q1 2006 will use Mono for .net virtual machine and the scripts will be compiled to .net bytecode and run on that.
External links
- Second Life official website
- Linden Lab official website
- LSL Wiki, a community effort to supplement the available LSL documentation
- Second Life Blog Information regarding the move to Mono
This programming-language-related article is a stub. You can help Misplaced Pages by expanding it. |