Flowgorithm, a visual programming tool with source code generation

Flowgorithm is one of the visual programming tools available today.

Positive:

  • visual programming, focus is more on the modelling on how to solve the problem than on the syntax of programing language like java, c# or python.
  • can generate code in many programming languages

Negative:

  • so far there is no way to read and write files

The figure below shows when execution is ongoing in slow speed. One can see where the execution is, both in the big flowchart and in the source code window (in this case Java). In addition, there is variable window (lower left) showing that 2 lotto numbers had been generated so far. The console window on the lower right is used for input and output operations.

flowgorith-lottonumbers-execution

 

The figure below is the clipboard copy of the flowchart in flowgorithm. The tool can also export in emf and svg formats.

flowgorith-lottonumbers-flow

Visual program file for lotto

This file is zipped. unzip in order to get the “Lotto.fprg” file.

Testing the java source

The generated java code worked well, as can be seen in the figure below. DrJava (portable) was used to compile and run the code. There was only 1 minor tweak needed (ie. one needed to initialize the NewNumber variable, see line “int NewNumber = 0;”)

flowgorith-lottonumbers-compiled-java

 

Links

  • Another similar tool is Raptor, but with different features (read/write files, some basic graphics)
This entry was posted in Basic Tools, For Fun or Interest, Hobbies and Other Interests, Tests, Tools. Bookmark the permalink.

Comments are closed.