Hi Dave,<div>impromptu</div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
</div>See main.cpp and Interpreter.cpp in fluxus/src for some source to do<br>
this. The fluxus scratchpad is just a glut application with a racket<br>
interpreter and text editor.<br></blockquote><div><br></div><div>Thanks for the information, I will start there.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a reason you're not using something like swig? Just curious.<br><br></blockquote><div><br></div><div>With Swig, you have to create "mapping" files, for a project like OpenCV, this looked daunting to maintain (at least for me). On the other hand, the "dub" binder understands the C++ files (thanks to Doxygen) and creates bindings from trivial templates (one for each language). Since everything is automatic, the bindings very closely map the original C++ methods, objects and such.</div>
<div><br></div><div>The fact that Swig looked overkill, huge and that reading the manual would have taken me as much time as writing Dub is another (irrational) reason.</div></div><br></div><div><br></div><div>My turn to be curious, what is the relation between (fluxus) and impromptu ?</div>
<div><br></div><div>G.</div>