kripken/emscripten — comment on commit ef37c712f2325a60ebca5162a5cb4bef9ef3292c
File:  line 0
By kripken:

Very interesting!

Currently the emscripten bindings generator (`tools/bindings_generator.py`) does something similar, it gets signatures of C++ classes and generates bindings code. We could probably very easily modify it to handle C functions as well (there just hasn't been a need yet). But, libclang might be a cleaner solution. Please keep me updated on your work there.