This is a JavaScript interpreter made from scratch in C++. Everything from the parser to interpreting were all made by hand with no tools such as a parser generator.
It’s header-only, so to use it all you have to do is #include it.
Some features haven’t been implemented, but it can handle the basics.
You can see that many of the globals are implemented through JS instead of hardcoded in the interpreter.
I stopped working on this a year ago since I didn’t have a use for it.
You can find and run the code here Glitch :・゚✧
Or on github GitHub - RecursiveDescent/IodineJS: A header-only JS interpreter written in C++.