2 ms·
Those example programs... holy cow. After that, I don't know if I'll ever feel bad about my code being unreadable.
by Groxx 10y ago
Those example programs... holy cow. After that, I don't know if I'll ever feel bad about my code being unreadable.
- userbinator 10y agoIt looks like a language that someone used to the APL family would have no problems with.
- mveety 10y agoActually it's not as bad as it looks at first glance. At least on OpenVMS, you normally use it like sed, and its not much worse than writing some regex, normally. Granted, writing a text editor in regex sounds awful.
- Groxx 10y agoYeah, the actual editing looks fine. The programs though. 0uz ! clear repeat flag ! <j 0aua l ! load 1st char into register A ! <0aub ! load 1st char of next line into B ! qa-qb"g xa k -l ga -1uz ' ! if A>B, switch lines and set flag ! qbua ! load B into A ! l .-z;> ! loop back if another line in buffer ! qz;> ! repeat if a switch was made last pass !