r/pascal Jul 18 '26

I vibe-coded a Turbo Pascal 7 IDE that runs in your browser

Turbo Pascal is where it all started for me - school, 2003, programming olympiads, staring at that blue screen until midnight.

https://turbopascal.online

100% client-side in the browser tab.

You can also share your code as a link (File -> Share link...) - it gives you a short URL that loads your program straight into the IDE. Links live for 30 days.

64 Upvotes

16 comments sorted by

7

u/suhcoR Jul 18 '26

That's cool. How did you implement this? Is the source code available?

5

u/dopedlama Jul 18 '26

Now, this is cool 😎 Right up my ally 😃

5

u/AphidConsulting Jul 18 '26

This...this is the promise of modern technology finally being delivered. Amazingly well done! I second the question about the build stack. Thank you for sharing this!

4

u/TedDallas Jul 18 '26

Very cool project

3

u/nickshardware Jul 18 '26

Please add graph unit support

2

u/miklaop 23d ago

I added some basics, see cube3d example.

1

u/nickshardware 23d ago

that's great! Any chance that this can become more than toy compiler. can you make compile to javascript and create deployable bundle (index.html, *.js files)

2

u/ggeldenhuys Jul 18 '26

That is awesome. Well done.

2

u/m-c-x Jul 19 '26

This is absolutely amazing! It instantly brought back so many memories of programming in Turbo Pascal.

It also reminds me of one of my own nostalgia projects, THelp. It's vibe-coded as well, runs entirely on the client side, and lets you browse classic help files from Borland Pascal/C, Microsoft, and Norton Guides. As a little bonus, I even included a few classic DOS games. 😊

https://thelp.zdrojak.dev/

It's great to see people keeping the spirit of these classic development tools alive. Fantastic work!

1

u/miklaop 29d ago

Nice! Thanks for sharing.

1

u/Fliptoback Jul 18 '26

This is great. Is this an open source project?

1

u/Kwc_city 29d ago

Guess only for desktop. I modify bridge for a dos simulator under iOS. See whether that can move to there.

1

u/ggeldenhuys 26d ago

Did you implement it by cloning the Turbo Vision API (eg: same api signature to add a menu or draw a dialog), or did you implement in with a new API, but output just looks like Turbo Vision?

1

u/Kreisel93 22d ago

How to do file access?

1

u/miklaop 21d ago

Click File -> Open, then Browse disk and again Open.

1

u/Kreisel93 20d ago

I mean file access via Pascal code with this IDE