LavishScript 2

From dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Revision as of 09:04, 25 November 2012 by Whiteslax (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

LavishScript 2 is the successor to LavishScript. Aside from the name, it bears little resemblance to the original LavishScript and its intended purpose is slightly different: LavishScript is essentially a command shell scripting language, so its design generally revolves around "commands" that might typically be entered at a command prompt, a la unix; LavishScript 2 is designed to be a more mainstream Object-Oriented programming system with familiar tools and syntax. It has a compiler and an IL assembler, and bytecode is executed by a runtime environment (virtual machine).

The LavishScript 2 runtime environment manages...

  • Object type definitions ("Types" for short), which may each have their own methods and properties (static and non-static)
  • Modules, which are developed in C++ via the LS2Module SDK and may access the features of the runtime environment
  • Scripts, which are developed in a high level language like C#, compiled to LS2IL with a compiler like ls2csc, assembled to bytecode, and executed by the runtime environment
  • Events

LavishScript 2 from LavishScript 1

The following API is exposed by Inner Space in LavishScript

Top-Level Objects
Data Types

See Also