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
(Created page with "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 dif...")
 
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
[[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 Virtual Machine.
+
[[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...
 +
* [[LS2:Type|Object type definitions]] ("Types" for short), which may each have their own methods and properties (static and non-static)
 +
* [[LS2:Module|Modules]], which are developed in C++ via the [[LS2Module SDK]] and may access the features of 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]]
 +
 
 +
== 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 ==
* [[LS2:Intermediate Language|Intermediate Language]]
+
* [[LS2IL]], the Intermediate Language
 +
* [[ls2csc]], the official C# compiler
 +
* the [[LS2Module SDK]], which includes ls2csc
 +
 
 +
[[Category:LavishScript 2|LavishScript 2]]

Latest revision as of 09:04, 25 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++ 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