Anonymous - 2018-12-22

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.