Slashdot Mirror


Introduction to Linden Scripting Language

prostoalex writes "Dr. Dobb's Journal runs a lengthy introduction to Linden Scripting Language, the language behind avatars and their interaction in Second Life: "LSL is a scripting language that runs server-side, on a piece of software called the simulator. The simulator does just what it's name implies — it simulates the virtual world of Second Life. Each simulator runs everything for 16 acres of virtual land — buildings, physics, and of course, scripts. While you manipulate the script text in a form that is somewhat easy to read, the actual code that runs on the simulator is compiled. A compiler is a piece of software that takes the text version of the script and converts it into something that can actually run. In the case of LSL, the compiler exists within the Second Life viewer itself. In the future, it is likely that the compiler will move from the viewer into the Second Life simulators, but where the code is compiled isn't very important. What matters is that the text is converted into a form that can run on the simulators.""

7 of 139 comments (clear)

  1. Credit where credit is due by Chairboy · · Score: 5, Funny

    Credit where credit's due, it's important to note that LSL is the first scripting language to have furry specific classes. This is an oft-overlooked aspect of modern languages.

  2. As clear as mud by Linker3000 · · Score: 3, Funny

    "A compiler is a piece of software that takes the text version of the script and converts it into something that can actually run."

    Glad that's all cleared up!

    --
    AT&ROFLMAO
    1. Re:As clear as mud by StarfishOne · · Score: 2, Funny

      *Compiles Forrest*

      *Done*

      Run Forrest, Run! :D

  3. the summary: intro to computers by mrcdeckard · · Score: 4, Funny


    hello class, this is a COM-PU-TER. computers run a set of instructions called a PROOOGRAAAM. programs are nothing but 1's and 0's. heheheh, but we don't program in 1's and 0's, we program in a language, such as linden script. another computer program, called a com-pi-ler, compiles the script into a format the computer can understand. ok, class, this is a DISK DRIVE . . .

    sheesh, i thought this was /.

    (actually, it must be -- even *I* am complaining about the summaries...)

    mr c

    --
    "Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - R. Feynman
  4. Who is this Dr. Dobb? by gandracu · · Score: 1, Funny

    And why is he allowed to publish his journal if he doesn't know when to use "it's" vs. "its"?

  5. Arf by Anonymous Coward · · Score: 1, Funny

    Doesnt the C in C# stand for Canines? Everyone keeps saying its a language to sink your teeth into.

  6. Not a very good article... by Cereal+Box · · Score: 4, Funny

    I was expecting a tutorial on how to program an army of flying penises to interrupt a virtual press conference...