Computer scientist and US Navy rear admiral who developed the first compiler for a programming language and was instrumental in developing COBOL.