Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jarhot1992/mujs

MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities. It is written in portable C and implements ECMAScript as specified by ECMA-262. Why? Because V8, SpiderMonkey and JavaScriptCore are all too big and complex. MuJS's focus is on small size, correctness and simplicity. The interface for binding with native code is designed to be as simple as possible to use, and is similar to Lua. There is no need for interacting with byzantine C++ template mechanisms, or worry about marking and unmarking garbage collection roots, or wrestle with obscure build systems.
https://github.com/jarhot1992/mujs

Last synced: 2 months ago
JSON representation

MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities. It is written in portable C and implements ECMAScript as specified by ECMA-262. Why? Because V8, SpiderMonkey and JavaScriptCore are all too big and complex. MuJS's focus is on small size, correctness and simplicity. The interface for binding with native code is designed to be as simple as possible to use, and is similar to Lua. There is no need for interacting with byzantine C++ template mechanisms, or worry about marking and unmarking garbage collection roots, or wrestle with obscure build systems.

Awesome Lists containing this project

README

        

MuJS: an embeddable Javascript interpreter in C.

ABOUT

MuJS is a lightweight Javascript interpreter designed for embedding in
other software to extend them with scripting capabilities.

LICENSE

MuJS is Copyright 2014 Artifex Software, Inc.

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Affero General Public License along
with this program. If not, see .

For commercial licensing please contact [email protected].

COMPILING

If you are building from source you can either use the provided Unix Makefile:

make release

Or compile the source with your preferred compiler:

cc -O3 -c one.c -o libmujs.o

INSTALLING

To install the MuJS command line interpreter, static library and header file:

make prefix=/usr/local install

DOWNLOAD

The latest development source is available directly from the git repository:

git clone http://git.ghostscript.com/mujs.git

REPORTING BUGS AND PROBLEMS

Report bugs on the ghostscript bugzilla, with MuJS as the selected component.

http://bugs.ghostscript.com/

The MuJS developers hang out on IRC in the #ghostscript channel on
irc.freenode.net.