<div dir="ltr">What languages are they painful for?  (Just curious).  <div><br></div><div>Assuming this gets upstreamed, which probably needs more consensus although I personally support it, it seems like that would be a good time to kill off the shell scripts.  There's no sense maintaining two sets of scripts to generate the bindings, and unfortunately we cannot rely on a bash or any other kind of shell environment on windows.  So it makes sense to do all new development in the python scripts.  Until now we've been updating both sets as necessary, but if we're going to contribute something substantial, it would be a good time to kill the shell scripts and do everything in Python.<br><div><br></div><div>The only that doesn't yet use the Python scripts is the Xcode build.  It shouldn't be hard to tweak a line somewhere and have it switch over to the python stuff, just nobody's done it yet.</div></div></div><br><div class="gmail_quote">On Tue Feb 17 2015 at 5:38:27 PM Bruce Mitchener <<a href="mailto:bruce.mitchener@gmail.com">bruce.mitchener@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 18, 2015 at 8:29 AM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@google.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">Maybe we can add support for Python3 too.  I know that moving off of Python 2 is a non-starter because of legacy code, but if it's ever going to happen in the future, then starting earlier is better than starting later, and this would be a good starting point.<br><div><br></div><div>For what it's worth, the python-based swig generation script has support for other languages.  There's a top level script which recurses into each language-specific subdirectory and runs a script in that directory to shell out to swig for the final creation.  So that part should be extensible.</div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>That's what I do for my JS bindings already, although I am still using the old shell script code in that tree. I did have to move the *.i files though and modify them to only conditionally include some stuff that is Python specific.</div><div><br></div><div>But the SWIG approach is rather painful for some other languages, so I'd like to hear if others might want a more straight forward (in terms of bindings) C API.</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div> - Bruce</div><div><br></div></div></div></div></blockquote></div>