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
(See Also)
Line 4: Line 4:
 
* [[LS2:Type|Object type definitions]] ("Types" for short), which may each have their own methods and properties (static and non-static)
 
* [[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++ and may access the features of the runtime environment
 
* [[LS2:Module|Modules]], which are developed in C++ and may access the features of the runtime environment
* [[LS2:Script|Scripts]], which are developed in LavishScript 2, compiled to [[LS2IL]], 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]]
  
 
== See Also ==
 
== See Also ==
 
* [[LS2IL]], the Intermediate Language
 
* [[LS2IL]], the Intermediate Language

Revision as of 20:36, 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

See Also

  • LS2IL, the Intermediate Language