Is there a modern programming language which has GOTO function in it? I know basic from a millenia ago and recently learned java, and well I hated OOP, but I could live with it if I had goto.
Wrong. If shift returns true - causing read to be called - the code will call reduce before calling shift again. for( tok=getToken() ; shiftTok(tok) ? tok=getToken() : 1 || reduceTok(tok) ; );
-short circuiting and casting pointer to bool is far less transparent than the goto version
the "casting pointer to bool" is just nonsense. a bool in c99 is just an int. and the code in >>45 uses the pointer the same way.