Difference between revisions of "LavishScript 2"

From ismods.com: dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Jump to: navigation, search
Line 6: Line 6:
 
* [[LS2:Script|Scripts]], which are developed in a high level language like C#, compiled to [[LS2IL]] with a compiler like [[ls2csc|ls2csc]], assembled to bytecode, and executed by the runtime environment
 
* [[LS2:Script|Scripts]], which are developed in a high level language like C#, compiled to [[LS2IL]] with a compiler like [[ls2csc|ls2csc]], assembled to bytecode, and executed by the runtime environment
 
* [[LS2:Event|Events]]
 
* [[LS2:Event|Events]]
 +
 +
== LavishScript 2 from LavishScript 1 ==
 +
The following API is exposed by [[Inner Space]] in [[LavishScript]]
 +
; Top-Level Objects
 +
* [[LS1:lavishscript2 (Type)|lavishscript2]] [[LS1:LavishScript2 (TLO)|LavishScript2]] - the LavishScript 2 runtime environment
 +
 +
; Data Types
 +
* [[LS1:lavishscript2 (Type)|lavishscript2]] - the LavishScript 2 runtime environment
 +
* [[LS1:ls2module (Type)|ls2module]] - a [[LS2:Module|Module]]
 +
* [[LS1:ls2script (Type)|ls2script]] - a [[LS2:Script|Script]]
  
 
== See Also ==
 
== See Also ==
 
* [[LS2IL]], the Intermediate Language
 
* [[LS2IL]], the Intermediate Language
 +
 +
[[Category:LavishScript 2|LavishScript 2]]

Revision as of 22:18, 24 November 2012

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++ 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

  • LS2IL, the Intermediate Language