Yes, there is a guy who wrote a Turbo Pascal Compiler in JavaScript:
http://www.teamten.com/lawrence/proj...scal_compiler/
This is rather awesome ...