TCC – Tiny C Compiler
tinycc.org
tinycc.org
The 'hidden gem' of tcc is libtcc (the backend), which you can use as a JIT subsystem in your own code. For example I've written a full JIT translator for simavr [0] like that. The code translates each AVR opcode into it's own little piece of C, then compile the whole 'firmware' and runs it.
I'm sure it's been posted more than that, though.
It works by running QEMU inside Linux inside a modified JSLinux, and then running Win2K inside QEMU.
JSLinux was modified to incorporate AMD's hardware-assisted virtualization instructions/extensions, so that QEMU could use KVM. This means that actual x86 emulation gets done in JavaScript layer, and you have (JavaScript (JSLinux(QEMU)) <-> Win2K) instead of (JavaScript(JSLinux(QEMU(Win2K))))), which would be... well I tried running Mini vMac (Mac 128K emulator) inside Basilisk II (PowerPC Mac emulator) one day... it was pretty much unusable, even though Classic Mac OS was designed for a 7.8MHz CPU.
So basically this wouldn't have been possible without implementing virtualization. Despite the fact that said virtualization is actually fake, and it's really emulation.
edit: googled it, https://www.landley.net/qcc/
source: https://help.github.com/articles/about-github-mirrors/
so, basically, it either needs to be a repository you own or you would need to do cron job polling from some third machine.
Or just question why you're doing this to begin with.
The motivation to put up the mirror is that the creator of the original project has no interest in changing his project to work with the languages' package manager, but has endorsed others mirroring it. So I could mirror the original project on Github and add the files needed for the languages' package manager to work with it.