Coder Social home page Coder Social logo

m0n7y5 / quickjspp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from c-smile/quickjspp

0.0 0.0 0.0 2.25 MB

Port of QuickJS Javascript Engine.

Home Page: https://bellard.org/quickjs

License: Other

Shell 0.10% JavaScript 6.10% C++ 5.05% C 86.32% Lua 0.09% Makefile 0.33% HTML 2.01% Batchfile 0.01%

quickjspp's Introduction

QuickJS Javascript Engine

Authors: Fabrice Bellard and Charlie Gordon

Ported from https://bellard.org/quickjs/ and its official GitHub mirror https://github.com/bellard/quickjs

By Andrew Fedoniouk (a.k.a. c-smile)

This version is

  • Microsoft Visual C++ compatible/compileable
  • Is used in Sciter.JS
  • It contains extras:

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.

Build using Microsoft Visual Studio (2017 or 2019)

Prerequisite: premake5 - download and install it.

Then go to /win folder and run premake-vs2017.bat or premake-vs2019.bat .

It will generate .build/vs2017/quickjs-msvc.sln and open it in Microsoft Visual Studio.

Press F5 to compile it and run qjs - interactive JS command line application.

Premake5 and build on other platforms/compilers/ide

Supported premake options:

  • --jsx - include JSX support;
  • --storage - include Persistent Storage support;

Supported targets (these are built into Premake itself):

  • vs2017 - MS Visual Studio 2017
  • vs2019 - MS Visual Studio 2019
  • gmake2 - gmake files
  • etc...

Few examples of other possible configurations:

premake5 vs2019 --jsx --storage
premake5 codeblocks --cc=gcc --jsx --storage
premake5 gmake2 --cc=gcc --jsx --storage
premake5 gmake2 --cc=clang --jsx --storage
premake5 gmake2 --cc=clang --jsx --storage
premake5 xcode4 --jsx --storage

quickjspp's People

Contributors

bellard avatar c-smile avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.