skip to navigation
skip to content

fytran 0.2.1

A simple REPL Fortran utility

Simple Fortran interface

Beginner Fortran developers are often puzzled with
correctness of FORTRAN statements syntax.
These last just never stop surprising.

Writing little simple programs often can be helful but tedious.
This script simplifies this process.
It maintains a list of FORTRAN statements, and:
* generates FORTRAN source file from a template
* compiles the file
* runs the file and display its output
* uses readline library to provide history of input


$ python -m fytran
!! - compile and execute expressions
!l - print expressions
!d - delete an expressions
!c - clear the list of expressions
!u - remove last stmt
!q - quit
>>> print *, 'hello' world
>>> !!
print *, 'hello' world
Error: Syntax error in PRINT statement at (1)
>>> !u
>>> print *, 'hello'
>>> !!
>>> !q

The FORTRAN template uses:

implicit real*8 (a-h, o-z)
File Type Py Version Uploaded on Size
fytran-0.2.1.tar.gz (md5) Source 2014-05-23 2KB
  • Downloads (All Versions):
  • 5 downloads in the last day
  • 47 downloads in the last week
  • 193 downloads in the last month