gwscript is an objekt oriented, aspect orientied programing language which can create both, executables (ELF, EXE) and shared libraries (DLL, SO, DYNLIB). The compiler is implemented in its own language and translates scripts into LLVM-IR which can be optimized and translated into native code by the LLVM framework. Sourcecode in gwScript contains definitions that expand the namespaces. So you can build your project and simply 'plug out' features by removing a file. The remaining project does not leave scars since you directly separate concerns by the 'template' feature of gwX. It is also possible to add new Features to a project by just adding files and without editing the original project. This language is used for example to create games or content management systems that should be extendable.
gwscript is strongly typed and offers comfort with its native types string, hash and array. You can easilly write new libraries in gwscript or native code. gwscript is type safe and users should not be able to crash your program or execute malicious code except code that is eating CPU time.
Further features are:
gwscript ist eine objektorientierte, aspektorientierte Programmiersprache, die sowohl Executables (ELF, EXE) als auch dynamische Bibliotheken (DLL, SO, DYNLIB) erzeugen kann. Der Compiler ist in seiner eigenen Sprache implementiert und übersetzt den Scriptcode in LLVM-IR, welcher vom LLVM-Framework optimiert und anschließend in nativen Code übersetzt wird. Quellcodedateien in gwScript enthalten Definitionen, die den Namensraum erweitern. Somit kann man sein Projekt so aufbauen, dass man gewisse Features 'herausnehmen' kann, indem man einfach eine Datei herauslöscht. Das restliche Projekt hinterlässt keine Narben, da man die einzelnen Concerns dank 'templates' konkreten Dateien zuordnen kann. So ist es zum Beispiel auch möglich, neue Features hinzuzufügen, indem man dem Projekt Dateien hinzufügt. Das eigentliche Projekt muss man dabei nicht anfassen. Benutzt wird diese Sprache zum Beispiel, um Spiele mit Erweiterungsmöglichkeit zu erstellen.
gwscript ist streng typisiert und bietet Komfort mit seinen nativen Datentypen string, hash und array. Man kann die Scripte um in nativem Code geschriebene Funktionen erweitern. gwscript ist typsicher und der Nutzer sollte nicht in der Lage sein, das Programm zum Absturz zu bringen oder bösartigen Code auszuführen.
Weitere Features sind:
Weiterführende Links