<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Thanks.<br><br>I will post stuff like this to vm-beginners from now on.<br><br>fwiw, having&nbsp; observed, for the first time, "stuff that happens before my code runs" -&gt;my code running in the active context--&gt;"is there stuff that happens after my code runs?" <br>I just wanted to use the correct terms for&nbsp; the pre and post processes, if they exist.<br><br>cordially,<br><br>tty<br><div id="1"><br>---- On Sat, 04 Jan 2014 05:42:39 -0800 <b>Bert Freudenberg &lt;bert@freudenbergs.de&gt;</b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>And no, "marshalling" has nothing to do with this. Neither is it a topic for the vm-dev list, really.</div><div><br></div><div><span style="border-collapse: separate; border-spacing: 0px; font-family: 'lucida grande'; font-size: 12px;"><div style="font-family: helvetica;">- Bert -</div><br></span></div><div><div>On 04.01.2014, at 14:37, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On 03.01.2014, at 00:33, gettimothy &lt;<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt; wrote:<br><div><br><blockquote type="cite"><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">Is there a term for all the Method/Block Contexts that are invoked prior to a DoIt getting to <br><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);">Compiler&gt;&gt;evaluate: textOrStream in: aContext to: receiver notifying: aRequestor ifFail: failBlock logged: logFlag</blockquote> <br>?<br><br>I know this is just semantics, but before there is a lot of "Context" going on before the first MethodContext of <br><br><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);">| factorial |<br><br>factorial := [:n&nbsp; |<br>&nbsp;&nbsp;&nbsp; n = 1 <br>&nbsp;&nbsp;&nbsp; ifTrue:[ 1 ] <br>&nbsp;&nbsp;&nbsp; ifFalse:[ (factorial copy value: n-1) * n]].<br>(1 to: 3) collect: factorial copy .</blockquote> <br>is activated.<br><br>Just curious if there is a term for that that people use.<br><br>thx.<br><br>ttty<br></div></div></blockquote></div><div><br></div><div>I'd call it "user interface code". If you refer to the stack dump below, you see that the TextEditor pretty much directly invokes the Compiler, triggered by a keystroke event that is handled by the hierarchy of morphs and generated by the Morphic main loop (with a slight diversion via the ToolSet layer).&nbsp;</div><div><br></div><div> <span style="border-collapse: separate; border-spacing: 0px; font-family: 'lucida grande'; font-size: 12px;"><div style="font-family: helvetica;"><span style="font-family: helvetica;">- Bert -</span></div><br></span> </div> <br><div><div>UndefinedObject&gt;&gt;DoIt</div><div>Compiler&gt;&gt;evaluateCue:ifFail:</div><div>Compiler&gt;&gt;evaluateCue:ifFail:logged:</div><div>Compiler&gt;&gt;evaluate:in:to:notifying:ifFail:logged:</div><div>[] in SmalltalkEditor(TextEditor)&gt;&gt;evaluateSelectionAndDo:</div><div>BlockClosure&gt;&gt;on:do:</div><div>SmalltalkEditor(TextEditor)&gt;&gt;evaluateSelectionAndDo:</div><div>SmalltalkEditor(TextEditor)&gt;&gt;printIt</div><div>SmalltalkEditor(TextEditor)&gt;&gt;printIt:</div><div>SmalltalkEditor(TextEditor)&gt;&gt;dispatchOnKeyboardEvent:</div><div>SmalltalkEditor(TextEditor)&gt;&gt;keyStroke:</div><div>[] in [] in TextMorphForEditView(TextMorph)&gt;&gt;keyStroke:</div><div>TextMorphForEditView(TextMorph)&gt;&gt;handleInteraction:fromEvent:</div><div>TextMorphForEditView&gt;&gt;handleInteraction:fromEvent:</div><div>[] in TextMorphForEditView(TextMorph)&gt;&gt;keyStroke:</div><div>StandardToolSet class&gt;&gt;codeCompletionAround:textMorph:keyStroke:</div><div>ToolSet class&gt;&gt;codeCompletionAround:textMorph:keyStroke:</div><div>TextMorphForEditView(TextMorph)&gt;&gt;keyStroke:</div><div>TextMorphForEditView&gt;&gt;keyStroke:</div><div>TextMorphForEditView(TextMorph)&gt;&gt;handleKeystroke:</div><div>KeyboardEvent&gt;&gt;sentTo:</div><div>TextMorphForEditView(Morph)&gt;&gt;handleEvent:</div><div>TextMorphForEditView(Morph)&gt;&gt;handleFocusEvent:</div><div>[] in HandMorph&gt;&gt;sendFocusEvent:to:clear:</div><div>BlockClosure&gt;&gt;on:do:</div><div>PasteUpMorph&gt;&gt;becomeActiveDuring:</div><div>HandMorph&gt;&gt;sendFocusEvent:to:clear:</div><div>HandMorph&gt;&gt;sendEvent:focus:clear:</div><div>HandMorph&gt;&gt;sendKeyboardEvent:</div><div>HandMorph&gt;&gt;handleEvent:</div><div>HandMorph&gt;&gt;processEvents</div><div>[] in WorldState&gt;&gt;doOneCycleNowFor:</div><div>Array(SequenceableCollection)&gt;&gt;do:</div><div>WorldState&gt;&gt;handsDo:</div><div>WorldState&gt;&gt;doOneCycleNowFor:</div><div>WorldState&gt;&gt;doOneCycleFor:</div><div>PasteUpMorph&gt;&gt;doOneCycle</div><div>[] in MorphicProject&gt;&gt;spawnNewProcess</div><div>[] in BlockClosure&gt;&gt;newProcess</div></div><div><br></div></div></blockquote></div><br></div></blockquote><br></div></body></html>