This is "sc", a Spreadsheet Calculator. written by Bob Bond and released in 1987.
This code has been fixed as needed to track modern complation environments, but is still basically that same old code.
It's still my go-to calculator for minor data tabulation and math needs.