From: Yusuke ENDOH Date: 2010-09-03T12:34:54+09:00 Subject: [ruby-core:32028] Re: Parsing of 'not' Hi, 2010/9/1 Brian Candler : > Is the following intentional? > >>> puts(not 3 < 4) > SyntaxError: compile error > (irb):4: syntax error, unexpected kNOT, expecting ')' > puts(not 3 < 4) > ^ > (irb):4: syntax error, unexpected ')', expecting $end > from (irb):4 > from :0 My personal opinion is that it is NOT intentional "willingly". But it would be difficult to fix it because of yacc's restriction. If anyone successfully write a patch that causes no parser conflict nor compatibility problem, the patch will be probably accepted, I guess. -- Yusuke Endoh