A virtual machine for executing programs written in Hack
...This bytecode is then translated into x64 machine code dynamically at runtime by a just-in-time (JIT) compiler. This compilation process allows for all sorts of optimizations that cannot be made in a statically compiled binary, thus enabling higher performance of your Hack programs.
...The nap-script is a C like programming and scripting language with the following characteristics:
- compiles into bytecode
- it runs in a virtual machine
- can be executed standalone or embedded in C/C++ code
- has a well defined assembly language
- can do runtime compilation
- has a syntax very similar to C without pointers
... and it is still under development :)
Check out the mercurial repository to get a glimps on the code.