Click here to Skip to main content
16,016,306 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am retired, but for MANY years designed, developed and maintained software for process control real time applications.

Is there a package available that would read as input old Fortran Source code and create a visual flowchart output that could then be used by newer programmers as a starting point to develop code on a newer hardware platform?

I am an old programmer who could read the old code and manually create flowcharts and a written description [I have done this several times in the past], but I was thinking there might be a package or program out there that mechanizes most of it.

If there is such a package, if it also allowed for manual modification of the generated flowchart file[s] after they are created, it could be used to move a control system from old hardware to newer hardware much faster and easier, with programmers adept on their new computer control system.

Thank you for any comments or references.

What I have tried:

Have tried looking for something like this, but did not find anything yet that inputs old Fortran code and produces a flowchart as output.
Posted
Updated 23-Mar-23 4:17am
Comments
OriginalGriff 21-Mar-23 17:30pm    
Given that Fortran code was generally as structured as a pile of spaghetti (and that includes my Fortran code) I'd suggest it's unlikely. And if there was, it would be unlikely to run on modern hardware - maybe an IBM 360, but as a Windows app? I doubt it.
Sorry ... I think you will have to get out your flowchart template and a pencil ... :laugh:
donald kraska 21-Mar-23 18:10pm    
Think you are right! Guess I'll contact my former employer and ask if they still use Fortran and they want it manually reverse engineered into flowcharts and a good description that someone could develop new code from.

I need more mental stimulation besides trading stocks and Sudoku!

Quote:
I need more mental stimulation besides trading stocks and Sudoku!

Try learning a new language - C# for example. The whole IDE is free from Microsoft (google for "Visual Studio Community") and there is a wealth of books out there that will teach you C# and the .NET frameworks.

I suspect you will wonder why you stuck with Fortran for so long ... :laugh:
 
Share this answer
 
I wonder why my former employer has stuck with Fortran so long...

I'd like to help my former employer convert this Fortran to a flowchart with description, which is why I posted the original question. This would then allow others [including me] to convert the code to a new system. I want to present this idea to the former employer as a possible way to convert without as much work.
 
Share this answer
 
v2
Comments
donald kraska 23-Mar-23 10:46am    
Thank you! I will look into it.
Chatgpt does a good job of describing what the code is doing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900