I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.
BUT
Does this tool replace shell commands with python functions? Or does it just call many times subprocesses.run()?
I guess the answer at this point in time is: it allows you to define the function replacements that matter to you in pnk.lang. But if so, ksh is not a first choice for maintainable code.
So it boils down to: can it “transpile” (transpret rather) its own code?
But… why?
I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.
BUT
Does this tool replace shell commands with python functions? Or does it just call many times
subprocesses.run()
?I guess the answer at this point in time is: it allows you to define the function replacements that matter to you in pnk.lang. But if so, ksh is not a first choice for maintainable code.
So it boils down to: can it “transpile” (transpret rather) its own code?