GepardGraphics / gepard-js

JavaScript binding for the Gepard library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gepard-JS

The Gepard-JS is a JavaScript binding of the Gepard library on top of the JerryScript engine.

Requirements

The Gepard-JS requires the Gepard library and the JerryScript library.

Build the code

The GEPARD_INSTALL_DIR and JERRYSCRIPT_INSTALL_DIR need to be set to their corresponding directories. Example commands are shown below.

cmake -Bbuild -H. -DGEPARD_INSTALL_DIR=../gepard/build/ -DJERRYSCRIPT_INSTALL_DIR=../jerryscript-install/
make -C build

Run the gepardJSApp

The gepardJSApp is a simple executable which runs the JavaScript file passed as an argument.

build/bin/gepardJSApp examples/fill-rect.js

About

JavaScript binding for the Gepard library

License:Other


Languages

Language:C++ 63.9%Language:CMake 18.0%Language:C 18.0%