Pseudo-Pascal to ASM compiler, written in ASM
University exam project, 2006, restored in 2026
A compiler I wrote in 8086 assembly in 2006 for a university exam. It turns a small Pascal-like language into assembly for DOS, in one pass and without a syntax tree. In 2026 I restored it, fixed the bugs that stopped it running, and ported it to JavaScript. In the browser the assembly appears next to your program as you type, and you can run it on a simulated 8086 with a DOS screen or step through it one instruction at a time.