SpiderMonkey (Javascript embedded interpreter)

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Site Admin
Posts: 3799
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il

SpiderMonkey (Javascript embedded interpreter)

Postby v1ctor » May 06, 2006 18:32

Headers and a simple test: http://www.freebasic.net/temp/spidermonkey.zip.

Project page: http://www.mozilla.org/js/spidermonkey/.

I'm not sure it the latest C rt include files from the FB CVS repository are needed, the anonymous access to CVS is broken at the moment (may/2006) in sf.net.
Posts: 605
Joined: Feb 18, 2006 13:30
Location: Alexandria / Egypt

Postby voodooattack » May 06, 2006 18:52

wow v1c, you continue to impress me :)

btw, it works under .15b just had to change "jscompat.bi" to:

Code: Select all

#ifndef intN
type intN as JSIntn
#ifndef uintN
type uintN as JSUintn
#ifndef jsuword
type jsuword as JSUword
#ifndef jsword
type jsword as JSWord
#ifndef float32
type float32 as single

and a small line in the example:

Code: Select all

    dim as sm ptr sm
    sm = sm_create( )
Posts: 154
Joined: Mar 17, 2006 11:54
Location: Portugal

Postby porfirio » May 07, 2006 8:14

Oh thank's Alot!!! ( Obrigadão! )

You are realy good and fast :D

I believe that spydermonkey will be usefull for many ppl

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 2 guests