[e-lang] Updoc timing quirk

Kevin Reid kpreid at mac.com
Tue Feb 27 13:49:47 CST 2007


On Feb 27, 2007, at 10:57, Mark S. Miller wrote:
> Kevin Reid wrote:
>> ? interp.waitAtTop(stdout <- print("hello sometime!"))
>> # stdout: hello sometime!
>>
>> ? print("padding")
>> # stdout: padding
>>
>> ? print("padding")
>> # stdout: padding
>>
>> Under E-on-CL's updoc implementation, this passes. Under E-on- 
>> Java's, "hello sometime!" is collected as part of the first  
>> "padding" step's stdout. [...] Please let me know which behavior  
>> should be considered correct, so I can proceed appropriately.
>
> E-on-CL's behavior should be considered correct.

I tried the following change to E-on-Java to fix this, but it had no  
effect on the behavior. I don't understand the updoc and command-loop  
system enough to understand why.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: extra-wait.patch
Type: application/octet-stream
Size: 1149 bytes
Desc: not available
Url : http://www.eros-os.org/pipermail/e-lang/attachments/20070227/4411d38a/attachment.obj 
-------------- next part --------------


-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list