Fortran II Hypersource

(texdraft.github.io)
78 points texdraft | 9 comments | | HN request time: 1.045s | source | bottom
1. sampo ◴[] No.42172225[source]
FORTRAN II was a version of Fortran in use from 1958 to 1961, then superseded by FORTRAN IV. (IBM never published FORTRAN III, it was only an IBM internal project.)

https://en.wikipedia.org/wiki/Fortran#FORTRAN_II

2. cide1 ◴[] No.42173359[source]
Its amazing to me how few instructions it took to write this. I would love to see higher level documentation of how it all fits together.
replies(1): >>42175122 #
3. fsckboy ◴[] No.42173921[source]
you buried the lede in the lead, where it links:

See also LISP 1.5

https://texdraft.github.io/lisp-1.5/listing.html

finally! being able to take the actual CAR and CDR!

replies(1): >>42174328 #
4. aap_ ◴[] No.42174328[source]
CAR here and CDR just below: https://texdraft.github.io/lisp-1.5/listing.html#line-7626
replies(2): >>42176111 #>>42176751 #
5. texdraft ◴[] No.42175122[source]
You might like https://archive.computerhistory.org/resources/text/Fortran/1... and https://archive.computerhistory.org/resources/text/Fortran/1..., although they assume a good deal of familiarity with the machines the compiler ran on.
replies(1): >>42186548 #
6. fsckboy ◴[] No.42176111{3}[source]
thanks for finding that, i love it!
7. nyrikki ◴[] No.42176751{3}[source]
For those not familiar with these old IBM machines that used decrementing of the index registers, this will help explain all the ??D instructions are there.

https://bitsavers.org/pdf/ibm/704/24-6661-2_704_Manual_1955....

Another lens for the FORTRAN case specifically, in the modern way we tend to say Fortran arrays are 'one' indexed, looking at this old code it is sometimes useful of thinking of it as a limit index, pulling from n-1 -> n. Or at least I found that useful for myself when digging into some of this a long time ago.

8. cide1 ◴[] No.42186548{3}[source]
Thank you!