Pash-Project / Pash

An Open Source reimplementation of Windows PowerShell, for Mono.
https://groups.google.com/group/pash-project
BSD 3-Clause "New" or "Revised" License
514 stars 54 forks source link

Command elements postprocessing #397

Closed ForNeVeR closed 9 years ago

ForNeVeR commented 9 years ago

It will allow us to properly parse expressions such as ping 8.8.8.8 or ping 8.8.ToString as PowerShell do (slightly hacky, ignoring member access expressions under some conditions, but that's the best I can make).

This pull request will close issue #205.

ForNeVeR commented 9 years ago

I think it's ready. Guys, please review these changes. Personally I don't like all this hackery, but I suspect that's the way PowerShell works.

JayBazuzi commented 9 years ago

Yeah, it's unfortunate that this is necessary. Maybe someone will come up with a brilliant way to make this clean and simple. For now, I'll merge it.