Hi Liam and Brian,
Just wanted to follow up and share where things stand. I've made a lot of progress since my introduction and have submitted my proposal on the GSoC portal, including a link to the proposal draft and my sample project gist.
A quick summary of what's new since my first post:
For the sample project, I went a little further than just parsing. It now includes cppclassdecl_parser.dart modelled after the existing structdecl_parser.dart pattern, handles CXCursor_Namespace recursion, extracts access specifiers via clang_getCXXAccessSpecifier, detects static/const methods, and has a test that validates the output against a known C++ header. A few things I discovered along the way that weren't obvious from the docs: libclang needs -x c++ and -std=c++17 passed as compiler opts to parse C++ syntax correctly, and CXCursor_Namespace doesn't directly yield a declaration, you have to recurse into its children.
On the two questions from my earlier post, I've formed a view on both and written them up in the proposal, but I'd genuinely love your input:
The proposal also has a full feature priority table (P0 through P3) and a section on memory management patterns for unique_ptr, shared_ptr, and POD types. (Which is taken into considerations after reading mentor Liam's reply in another conversation)
Thanks so much, and feel free to reach out if anything in the proposal needs clarification before the March 31st deadline!
Best,
Edward Alexandra
--
You received this message because you are subscribed to the Google Groups "dart-gsoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dart-gsoc+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dart-gsoc/ed134d1a-366b-4890-9e22-40c41b5065e9n%40googlegroups.com.
Hi Liam,
Thank you so much for taking the time to respond — this is really helpful!
Good to know the separate output file is the right approach for now. I'll model it after the ObjC .m output pattern and leave the build hook integration for when you get to it. I'll update my proposal to reflect this.
I'll also make the gist public as you suggested.
Thanks again, and looking forward to working with you if I'm accepted!
Best,
Edward