/FOOTRAN-I

An implementation of a compiler for the very first version of FORTRAN based on the Reference Manual from 1956.

Primary LanguageGroovyOtherNOASSERTION

FOOTRAN I

Build Status Build status

A modern implementation of a compiler for the very first version of FORTRAN based on IBM's official Reference Manual from 1956.

Fortran Programmer's Reference Manual

This project is licensed under an ISC license, see LICENSE file.

To Do:

  • [X] basic punch card handling (comments, continuations, statement numbers)
  • [X] parsing of constants, variables and subscripts
  • [X] arithmetic formulas and simple expressions
  • [X] complex arithmetic expressions (+-*/)
  • [X] control statements
  • [ ] input/output statements
  • [X] specification statements
  • [ ] interpreter
  • [ ] optimizations
  • [ ] code generation

Strech goals:

  • [ ] function statements (have been added in a later revision of the reference)