This would allow one to use list comprehensions in ie. (Probably other Unicon extensions, too.)
I was delighted to find list comprehensions in the Unicon Language Reference. Much more elegant than ListPDCO. However, any use of [: ... :] in ie resulted in errors. However, if I ran the generated ._ie_tmp.icn from the shell with unicon everything was fine.
Tracking it down, ie.icn line 164 (for Unix) executes ._ie_tmp.icn with icont, which understandably doesn't recognize Unicon extensions. A simple change of icont to unicon now allows me to use list comprehensions in ie.
I don't claim a thorough testing of this, but it certainly seems the right change to make if one is supposed to use Unicon expressions in ie. Also, I don't have Unicon on any platform other than Linux, so I didn't experiment with the launch code in ie for Windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This would allow one to use list comprehensions in ie. (Probably other Unicon extensions, too.)
I was delighted to find list comprehensions in the Unicon Language Reference. Much more elegant than ListPDCO. However, any use of
[: ... :]inieresulted in errors. However, if I ran the generated._ie_tmp.icnfrom the shell withuniconeverything was fine.Tracking it down,
ie.icnline 164 (for Unix) executes._ie_tmp.icnwithicont, which understandably doesn't recognize Unicon extensions. A simple change oficonttouniconnow allows me to use list comprehensions inie.I don't claim a thorough testing of this, but it certainly seems the right change to make if one is supposed to use Unicon expressions in
ie. Also, I don't have Unicon on any platform other than Linux, so I didn't experiment with the launch code iniefor Windows.