Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

13 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages