Hello
Just found that it's possible to install FPC in Google Colab (
https://colab.research.google.com/notebooks/welcome.ipynb ).
Just installed with:
!apt-get install fpc fpc-source lazarus
Found it interesting and decided to share. Installing lazarus might be useful for running lazbuild.
After installing the above, you can test with this:
!apt-get install subversion
Get the pascal source code with:
!svn checkout https://svn.code.sf.net/p/cai/svncode/trunk cai-svncode
Compile with:
!lazbuild cai-svncode/lazarus/experiments/supersimple/supersimple.lpi
And then run with (you can find the bin path from the linker when compiling):
!cai-svncode/lazarus/bin/x86_64-linux/bin/supersimple
Wish everyone happy pascal coding