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


GLUEscript uses SpiderMonkey, the JavaScript engine used in FireFox.


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.

Compile your programs with at least 2 compilers

The last days I've learned that you should compile your sourcecode with at least 2 compilers. I used to compile and build the sourcecode of wxJavaScript and GLUEscript with Visual Studio Express. Until somebody asked in the group why wxJavaScript didn't compile on Linux. Visual Studio Express is a great compiler but it allows to write C/C++ code that doesn't comform to the standard. That's why GCC on Linux throws a lot of compile errors. One of them was: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function.. To solve this error I had to change all the source files. So lessons learned: Now I also use Code::Lite to compile GLUEscript with the MinGW compiler. MinGW ports the GCC compiler to Windows.