https://github.com/andythefactory/jsdb
Fork of JSDB a javascript based scripting engine - originated from http://www.jsdb.org
https://github.com/andythefactory/jsdb
Last synced: 3 months ago
JSON representation
Fork of JSDB a javascript based scripting engine - originated from http://www.jsdb.org
- Host: GitHub
- URL: https://github.com/andythefactory/jsdb
- Owner: AndyTheFactory
- License: other
- Created: 2017-03-16T12:46:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T12:48:41.000Z (about 8 years ago)
- Last Synced: 2024-12-27T18:27:06.583Z (5 months ago)
- Language: C
- Size: 3.31 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- Changelog: changes.txt
- License: license.txt
Awesome Lists containing this project
README
For license terms, please read license.txt.
To compile JSDB for Linux
1. chmod +x makejsdb.csh
2. ./makejsdb.csh
3. Copy the support files to /etc/jsdb/To compile JSDB for Linux with iODBC
1. chmod +x makejsdbiodbc.csh
2. ./makejsdbiodbc.csh
3. Copy the support files to /etc/jsdb/To compile JSDB for Linux without ODBC
1. chmod +x makejsdbnosql.csh
2. ./makejsdbnosql.csh
3. Copy the support files to /etc/jsdb/To generate the Linux build script
./jsdb make.js jsdb.project linux linux /preview > makejsdb.csh
or, without ODBC,
./jsdb make.js jsdb.project linux linuxnosql /preview > makejsdb.csh
To compile JSDB for Windows with GCC
1. jsdb.exe make.js jsdb.project win32
To compile JSDB for OSX with XCode
1. ./jsdb make.js jsdb.project osx
To compile JSDB for Win32 with the Borland C++ compiler
1. Open jsdb.project in your favorite text editor.
2. Search for "bcc55" in 3 places, and change the include and library paths as appropriate
3. jsdb.exe make.js jsdb.project winbccThe source code for JSDB is based on SpiderMonkey, with the following changes:
1. Add parenthesis around ambiguous shift operators.
2. Insert before jsobj.c#2503
lasbobj = obj = cx->fp->scopeChain;
if (obj)
3. Disable __declspec(dllimport) in jstypes.h
4. Replace JSLL_INIT macros in prmjtime.c and jslong.cJSDB is a trademark registered to Shanti Rao, who would like to hear from you at [email protected].