From: Avi B. <av...@be...> - 2004-04-08 18:07:46
|
On Apr 8, 2004, at 7:32 AM, Jecel Assumpcao Jr wrote: > My Neo Smalltalk evaluates right-to-left. That lets me get by with just > one send instruction. The first instructions in a compiled method grab > the right number of arguments from the caller's stack. Unless it is a > short leaf method - in that case it can skip creating its own stack and > run directly with the caller's stack. This is a very common case since > I currently do very little inlining (just the usual ifTrue: stuff). Not that this really matters at all, but - this also makes implementing Forth-like languages (see my Sorrow package on SM) easier. |