<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 1:08 PM, Estevo <span dir="ltr"><<a href="mailto:euccastro@gmail.com" target="_blank">euccastro@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yay!<br><br>A caveat: I've never touched iOS, but some event-based systems will not call back unless an event for which you have registered is triggered.  In games, where you redraw the whole screen many times per second this is not a problem, since the 'draw' callbacks should give plenty of opportunity for Scheme land code to run.  But in a more static GUI application this might not be the case.  It could be that the REPL freezes until the user interacts with the app window in some way.  Hence the suggestion for timer or idle handlers.<br>



</div><div class="gmail_extra"><br></div>
</blockquote></div><br></div><div class="gmail_extra">Yes, that's a good observation :)<br></div><div class="gmail_extra">In SDL, specially for the drawing callback, it will always be the case that you are constantly re-entering the Scheme code. But you are right, for static GUIs you'll need a callback.<br>


</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anyway, all this was for nothing, since SDL seems to work now as normally, giving you full control of the loop. This is how it should be, as it makes the code way more portable between all supported platforms. <br>


</div><div class="gmail_extra"><br></div></div>