What's GLUEscript?

GLUEscript (Glueing Libraries Using EcmaScript) is the successor of wxJavaScript. The new name covers the goal of this project: create a JavaScript engine which can be used as a general purpose language (like Perl for instance).

Read the history behind GLUEscript.

GLUEscript is developed by Franky Braem

SpiderMonkey

GLUEscript uses SpiderMonkey, the JavaScript engine used in FireFox.

SpiderMonkey

Portable Code

GLUEscript is written in portable C++ code. GLUEscript uses PoCo, a library for writing portable C++ code. And wxWidgets is used as GUI toolset. The GUI glue is optional.

Powered by POCO
Built with wxWidgets

GLUEscript uses Premake for generating makefiles for gcc, project files for Visual C++, CodeLite, Code::Blocks, ... Premake can be used on Windows, Linux and MacOS.

GLUEscript 0.1.05 released

Modules are defined in glue.properties. For example:

glue.uri=file:///c:/development/gluescript/bin/debug
glue.modules.core=${glue.uri}/glue_cored.dll
glue.modules.wx=${glue.uri}/glue_wxd.dll

The core module is required!
Other changes:

  • require is implemented as Modules 1.0 standard of commonjs e.g. require("expat") will first search for a dll that is defined in glue.properties with the key "glue.modules.expat". When it's not defined, it will try to load the scriptfile "expat.js". When requiring a javascript file, you have to omit the .js extension!
  • Upgrade SQLite to 3.7.2
  • net module with new classes:
    • TCPServer
    • TCPServerParams
    • TCPServerConnection
    • TCPServerConnectionFactory
    • HTTPServer
    • HTTPServerParams
    • HTTPRequestHandler
    • HTTPRequestHandlerFactory
    • HTTPServerRequest
    • HTTPServerResponse
    • HTTPClientSession
  • apache: Use HTTPServerResponse and HTTPServerRequest in the requesthandler.