Skip to content

Instantly share code, notes, and snippets.

@Kreijstal
Last active October 31, 2025 19:36
Show Gist options
  • Save Kreijstal/f1b5d5af9d2c1356d0da223c718e2e06 to your computer and use it in GitHub Desktop.
Save Kreijstal/f1b5d5af9d2c1356d0da223c718e2e06 to your computer and use it in GitHub Desktop.
How to bootstrap pascal?
fpc source has this commit eb6b7943a946247878b908ec8937c66d5a7f83ae which is a freepascal from 28 YEARS ago.. this is a very barebones pascal program, maybe try from here?
in github all toy compilers are self-hostable which is annoying as they are not bootrstrapable
https://github.com/Kreijstal/Pascal-Compiler an attempt of another toy language to bootrstap pascal compilers.. it is extremely barebones. but it does a hello world
https://github.com/samiam95124/Pascal-P5/tree/master might work?
https://github.com/vtereshkov/xdpw interesting pascal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment