Old-fashioned #Ratfor also was available: https://rosettacode.org/wiki/Continued_fraction/Arithmetic/Construct_from_rational_number#RATFOR
(I use the public domain Ratfor77 that is written in an historical dialect of C, but distribute my own copy because the original has a serious bug in it.)
Add #Mercury to the languages in which I have contributed a Sutherland-Hodgman example to #RosettaCode:
Sutherland-Hodgman polygon clipping - Rosetta Code https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#Mercury
#LogicProgramming #ComputerGraphics #DeclarativeProgramming
(I’m still stunned by that oatmeal-for-brains who OBJECTED to my contributing a #Ratfor example, because it wasn’t in the latest #Fortran revision. And such a fool runs ‘Fortran’ websites? Computer programming is a sick field.)
#fortran #ratfor #declarativeprogramming #computergraphics #LogicProgramming #rosettacode #mercury
Heh, I submitted a Ratfor version:
Sutherland-Hodgman polygon clipping - Rosetta Code https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#RATFOR
From that you can get a perfectly readable FORTRAN 77 version, so there is no need to write FORTRAN 77 separately. :)
#computergraphics #fortran #ratfor #rosettacode