In one example you pipe a list through some functions, does every function parse the list from a string or is there some protocolly side channel action going on for the typing?
You said you had read about powershell, would be interesting to know if you plan on doing something with datastructures as well as that is its power feature :)
I'm on the go now, and will come back to add more details and try to respond to questions here.