SpiderMonkey (Javascript embedded interpreter)

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

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.
voodooattack
Posts: 605
Joined: Feb 18, 2006 13:30
Location: Alexandria / Egypt
Contact:

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
#endif
#ifndef uintN
type uintN as JSUintn
#endif
#ifndef jsuword
type jsuword as JSUword
#endif
#ifndef jsword
type jsword as JSWord
#endif
#ifndef float32
type float32 as single
#endif


and a small line in the example:

Code: Select all

    dim as sm ptr sm
    sm = sm_create( )
porfirio
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: Google [Bot], MSN [Bot] and 1 guest