Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by noblethrasher on Thursday June 14, 2012 @04:06PM
(#4113280)
Powershell on Windows does something like what you want:
[ Parent
| on HN ]
Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by mey on Thursday June 14, 2012 @04:36PM
(#4113401)
First thing I looked for when I checked the comments, was there a mention of Powershell. Powershell has the concept of passing objects (via .net clr) instead of passing strings. It sucks when trying to deal with streams of data, but fantastic for acting as script glue between various systems.
One of the things I feel Microsoft really got right.
Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by e12e on Thursday June 14, 2012 @06:00PM
(#4113747)
First thing I checked for too. Second thing I looked for was someone pointing out that this is asking for object oriented systems (such as Smalltalk or Self).
But the third thing, no one mentioned: SNOBOL. Reportedly (because I haven't used it myself) it is better than AWK for complex matching.
Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by ori_b on Thursday June 14, 2012 @06:38PM
(#4113899)
I played with SNOBOL. It may have a more powerful matching engine, but power doesn't equate to usability. Having each line followed by 3 gotos does not good UX make.
Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by jejones3141 on Thursday June 14, 2012 @09:16PM
(#4114459)
Icon or its descendant Unicon might be worth a look, then.
Re:Rob Pike: "Current Unix tools are weakened by the built-i...
by ori_b on Thursday June 14, 2012 @09:55PM
(#4114552)
Maybe. I don't think I've ever really been constrained by the power of Awk's pattern matching. I wish I could do it recursively, but that's not so much a power issue as a composability issue.