It’s not in fashion, but if you’re at all curious about Pascal, Jeff Duntemann has just updated his tutorial book, FreePascal from Square One, and released it for free. See http://www.contrapositivediary.com/?p=5399 for details; the book is available from http://www.contrapositivediary.com/wp-content/uploads/2025/05/FreePascalFromSquareOne-5-7-2025.pdf and you can visit https://www.freepascal.org/ for info on FreePascal, and https://www.lazarus-ide.org/ for the Lazarus IDE — both are probably available in your favourite distribution (apt install lazarus in Debian and derivatives).