Re: Informix compiler parsing is poor
Posted in 1994
Bruce Momjian (root@candle.uucp) wrote: : Has anyone else noticed that the informix c4gl compiler accepts some : sytax as valid, like : print column "fred", "barney" : which emits no compiler warning, but goes into an infinite loop at run : time. The parser should catch this bug. : I have found other weird limitations, like you can't use a string : constant in a cursor OPEN statement, and sometimes built-in function : calls can't be used in certain cases. : It seems like the 4gl parsing is just not as robust as other languages I : have used. Has anyone else noticed this? Absolutely, the most infuriating is when simple syntax errors generate broken code like the print statement you mentioned. I ran into the problem that if I closed a window that I hadn't opened (I mis-typed the name) the executable would core dump. Why can't the compiler catch this? ---- Martin Andrews andrewm@ccfadm.eeg.ccf.org Dept. of Neurology Phone (216)444-7485 Cleveland Clinic Foundation Fax (216)445-6617