Structorizer.Desktop
Structorizer.Desktop copied to clipboard
Enhancement proposal: Code export to PowerShell
Klaus-Peter Reimers just came up with the proposal of a code generation to PowerShell.
There are some complicating aspects, of course, rather even more than with bash/ksh:
- The algorithmic focus of shell scripts have little intersections with the classical number- or structure-related algorithmic tasks usually modelled in a structogram.
- For the rather file- or operating-system-related tasks solved in shell scripts Structorizer provides no executable primitives.
- So a likely scenario might be to use the NSD elements just as structural skeleton, filled with pseudo code or even commands in shell-specific syntax (in which case the use of export option "no transformation" is recommmendable).
- PowerShell has practically an object-oriented coding paradigm, which is not particularly well supported by Nassi-Sjhneiderman diagrams.
- The name syntax of PowerShell is somewhat incompatible with Structorizer: hyphens (minus signs) may be part of identifiers. So syntax analysis is better switched off as well, Structorizer cannot help in any way to find the appropriate commands for certain tasks.
Anyway, this would not be a short-term task, though a first prototype that just cares about the conversion of the algorithmic structures wouldn't be that difficult. But simply to ignore all concepts like variables, constants, types etc. is hardly an option, on the other hand.
Just a note: should be considered in combination with #850.