Hi Pharo People, I know Smalltalk has precedence rules when subexpressions () are involved.
2 + ( (3 * 4) - 1 ) evaluated last ( (evaluated first) evaluated second ) That is the inner most subexpression is evaluated first. Given the following made up expression for the purposes of my question: self at: (self offset) - 1 put: (2 * (12 / 4)). Are there precedence rules for the subexpressions that are part of the keyword expression? ie: Should (self offset) - 1 be evaluated before (2 * (12 / 4)). My thinking is that with keywords the arguments are evaluated left to right - that is at: before put: but within each the regular subexpression precedence applies? - James. -- View this message in context: http://forum.world.st/subexpression-precedence-tp4929398.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
