Interestingly, Donald Knuth created an entire new system of programming to make up for the deficiencies of Pascal in the programs he was trying to write (TeX and METAFONT):
http://literateprogramming.com/
WEB is expressive enough that there is a tool to directly transpile to C for compiling: