Skip to content

githubyang/SparrowJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparrowJS

Minimal JavaScript engine

the SparrowJS separated from the JSNative about the project,the project is not yet perfect,many grammars are not supported ,but supports basic arithmetic and function calls,and supports JS call c++.

how to use?

#include <stdio.h>
#include "lex.hpp"
#include "sparrowJS.hpp"

int main(int argc, char **argv)
{
    sparrowJS* sparrow=new sparrowJS();
    sparrow->elva("javascript code");
    delete sparrow;
    return 0;
}

About

Minimal JavaScript engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages