Repository navigation
FORTRAN-Compiler v1.0
FORTRAN Compiler v1.0 Release
I'm pleased to announce the FORTRAN Compiler, a tool for compiling a subset of the FORTRAN language using Flex and Bison.
Highlights
- Lexical Analysis: Fully functional lexer for tokenizing FORTRAN keywords, identifiers, and operators.
- Syntax Analysis: Robust parser that validates FORTRAN code structure.
- Supported Features:
PROGRAM,END PROGRAM- Variable declarations (
REAL,INTEGER) - Control structures (
IF,THEN,ELSE,ENDIF) - Loops (
DO,ENDDO) - Subroutine calls (
CALL)
- Error Handling: Basic syntax error detection with detailed error messages.
Installation
For setup instructions, refer to the Installation section in the README.
Usage
For usage details, follow the instructions in the Usage section of the README.
Known Issues
- Limited support for a subset of FORTRAN constructs.
- Error handling can be further improved.
Roadmap
Future versions will focus on:
- Expanding language support.
- Enhancing error handling and performance.