Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider using SWIG for parsing objective-c #37

Open
bsutton opened this issue Nov 12, 2020 · 1 comment
Open

consider using SWIG for parsing objective-c #37

bsutton opened this issue Nov 12, 2020 · 1 comment

Comments

@bsutton
Copy link

bsutton commented Nov 12, 2020

Just wondering if you have looked at SWIG for generating the bindings.

http://swig.org/

My understanding is that SWIG parses C and Objective-C headers and generates an intermediate representation.

From this I would guess that you could then generate the dart bindings.

@yulingtianxia
Copy link
Member

@bsutton Thank you for your advice. Codegen reads header file and generates dart code calling dart_native runtime. We want to walking the AST and do a syntax conversion. Swig may not match our needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants