What is this? -------------------------- This is a heavily developed version of dmdscript http://www.digitalmars.com/dscript/ Bindings code based on GtkD bindings With currently 3 interfaces: - roolite (command line interface with basic file support) - roojs (mysql support, and a few others ** not yet) - roogtk (Gtk version - with bindings for Gtk/Dom etc.) - roofcgi (Usable with the mod_fastcgi apache extension) = proof of concept, but it works... Have a look in src/* to see what is available in terms of bindings For language reference see: http://www.akbkhome.com/gtkDjs/ (soon to be:) http://www.akbkhome.com/rooscript/ This should be available as a snapshot from: http://devel.akbkhome.com/gtkjs/ (soon to be:?) http://www.akbkhome.com/rooscript/ Subversion source is at: http://www.akbkhome.com/svn/rooscript/ Installing (Linux) -------------------------- If you are lucky, you should just copy roojs, roojtk and roofcgi into /usr/bin You might need the following packages - depending on what libraries you want to use. #for most code. (pcre is the regex library) apt-get install libstdc++5 apt-get install libpcre3-dev #for DOM or GTK support libglib2.0-0 libgdome2-0 #for mysql support apt-get install libmysqlclient15-dev #for GtkSupport apt-get install libgtk2.0-0 libcario2 libatk1.0-0 libpango1.0-0 #for fastcgi support. apt-get install libfcgi0c2 ** the binary should work ok if you do not have those libraries, but will throw exceptions ** when you try and access any methods from libraries that do not exist.. Building (the lite version - does not need libraries) -------------------------- sh roo.lite.gdc.sh Running -------------------------- roolite myjsfile.js -Linculde/path/for/my/jsfiles Building (the gtk version ) -------------------------- cd wrap sh buildit.sh cd .. sh roo.gtk.gdc.sh Running -------------------------- roogtk.js myfile.js -Linculde/path/for/my/jsfiles Testing --------------------------- #Have a look in the examples folder for quite a bit of crap.