<!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 observed, for the first time, "stuff that happens before my code runs" ->my code running in the active context-->"is there stuff that happens after my code runs?" <br>I just wanted to use the correct terms for 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 <bert@freudenbergs.de></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 <<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>> 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 <<a href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>> 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>>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 |<br> n = 1 <br> ifTrue:[ 1 ] <br> 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). </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>>DoIt</div><div>Compiler>>evaluateCue:ifFail:</div><div>Compiler>>evaluateCue:ifFail:logged:</div><div>Compiler>>evaluate:in:to:notifying:ifFail:logged:</div><div>[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:</div><div>BlockClosure>>on:do:</div><div>SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:</div><div>SmalltalkEditor(TextEditor)>>printIt</div><div>SmalltalkEditor(TextEditor)>>printIt:</div><div>SmalltalkEditor(TextEditor)>>dispatchOnKeyboardEvent:</div><div>SmalltalkEditor(TextEditor)>>keyStroke:</div><div>[] in [] in TextMorphForEditView(TextMorph)>>keyStroke:</div><div>TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:</div><div>TextMorphForEditView>>handleInteraction:fromEvent:</div><div>[] in TextMorphForEditView(TextMorph)>>keyStroke:</div><div>StandardToolSet class>>codeCompletionAround:textMorph:keyStroke:</div><div>ToolSet class>>codeCompletionAround:textMorph:keyStroke:</div><div>TextMorphForEditView(TextMorph)>>keyStroke:</div><div>TextMorphForEditView>>keyStroke:</div><div>TextMorphForEditView(TextMorph)>>handleKeystroke:</div><div>KeyboardEvent>>sentTo:</div><div>TextMorphForEditView(Morph)>>handleEvent:</div><div>TextMorphForEditView(Morph)>>handleFocusEvent:</div><div>[] in HandMorph>>sendFocusEvent:to:clear:</div><div>BlockClosure>>on:do:</div><div>PasteUpMorph>>becomeActiveDuring:</div><div>HandMorph>>sendFocusEvent:to:clear:</div><div>HandMorph>>sendEvent:focus:clear:</div><div>HandMorph>>sendKeyboardEvent:</div><div>HandMorph>>handleEvent:</div><div>HandMorph>>processEvents</div><div>[] in WorldState>>doOneCycleNowFor:</div><div>Array(SequenceableCollection)>>do:</div><div>WorldState>>handsDo:</div><div>WorldState>>doOneCycleNowFor:</div><div>WorldState>>doOneCycleFor:</div><div>PasteUpMorph>>doOneCycle</div><div>[] in MorphicProject>>spawnNewProcess</div><div>[] in BlockClosure>>newProcess</div></div><div><br></div></div></blockquote></div><br></div></blockquote><br></div></body></html>