Difference between revisions of "LSL3"

From Second Life Wiki
Jump to navigation Jump to search
(New page: == Purpose == The purpose of the LSL3 project is to design a new programing language that would replace LSL2 in Second Life. == Design Ideals == *It should be designed to enable expressio...)
 
m
Line 1: Line 1:
{{RightToc}}
== Purpose ==
== Purpose ==
The purpose of the LSL3 project is to design a new programing language that would replace LSL2 in Second Life.
The purpose of the LSL3 project is to design a new programing language that would replace LSL2 in Second Life.

Revision as of 17:35, 8 February 2008

Purpose

The purpose of the LSL3 project is to design a new programing language that would replace LSL2 in Second Life.

Design Ideals

  • It should be designed to enable expression and not hinder expression with arcane functionality.
  • C style syntax and order of operations
  • Type safety
  • Strongly Typed

Goal

Address the shortcomings of LSL2 and add new functionality while limiting the increase of language complexity.

Proposed Changes for LSL2

Here are some proposed changes to LSL2. Please add new changes, if they cannot be summed up in a single sentence please create a subpage to this article and put a link in the appropriate section.

Syntax

  • Fix quaternion ordering
  • Object model for base types
  • Array indexer

Types

  • User defined class & structures
    • Duck Typing (LinFu?)

Functions

  • Organized into static classes?

States & Events

  • State variables.
  • User defined events that can be triggered by external scripts.