A simple stack-based virtual machine that runs C in the browser.
A simple stack-based virtual machine that runs C (missing features below) in the browser.
The beginning of an interactive tutorial that covers C, how the VM works, and how the language is compiled.
This project is made as an experiment to see if C can be learned easier if the lower level is covered in paralel.
Tutorial (for people with 0 programming experience) :
operator new is working (like in C++), no malloc
static arrays and structs (dynamic arrays and pointer to structs work fine).
Arrays of structs (arrays of pointers to structs works fine).
for, switch statements
only bool,int,char as primitive types and they all have the same size in memory
delete / delete