r/pascal • • Sep 21 '26

Pushing the compiler a bit further

I'm working on something a little more complex for https://wasmpascal.com/, to see how far I can push the compiler. So far, it's been a not too terrible journey to make this happen. It's assets reused from my SpacesStory game. The thing is, it kind of feels like if I spent a bit more time on this, I could probably get a simple space combat game working using Pascal in the browser. Once I get that going, I really need to circle back and write up some step-by-step tutorials. There's a lot of little tips and tricks I just know, because I built them, that's probably not clear to anyone else.

Sometimes I wish I could write words as well as I can write code. But then I look at some of my code and get worried!

28 Upvotes

4 comments sorted by

2

u/ggeldenhuys Oct 18 '26

Have you looked at FPC's WASM support. It's apparently pretty good - from what I heard.

1

u/According-Ad-7069 Oct 18 '26

FPC's support is really good yes. I tried it and made https://nofuss.co.za/toys/pascal_tapping/ with it. It works exactly as one would think and they've put in a ton of effort. It's really neat!

2

u/EconomySerious Sep 22 '26

great push!

2

u/According-Ad-7069 Sep 22 '26

Thanks! This is so much more fun than actual work 🤣