GSoC 2024: Week 1-2 Report
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5oolZmmkRihDpGOczwEacI5Iq8_ySqRLYyOxYuRCegpeYgHtYPr-ziydpj8gLpc2U7SK5T3Rw_pcHUI0ALDex726Vm2jfxEWGtwm_pQGUwyH7ZPD3weGEF7lbfZaPKXI_e5WaLDSzd-0DlnN6X6eEG02wosndX1fEgF8HpKQVzCltDxR8quwbjaM4n8s/w769-h158/Screenshot%20from%202024-06-20%2015-47-44.png)
Project Add support for the latest GIR attributes and GI-Docgen formatting to Valadoc. Mentor Lorenz Wildberg Project Planning In the Phase I of this project, our focus is on adding support for latest GObject Introspection attributes to vapigen and the vala compiler. Currently we are adding support for the glib:sync-func , glib:async-func , and glib:finish-func attribute for method, and the default-value attribute for property. To accomplish this, we need to understand how the GirParser builds the AST from the GIR data, and how the GirWriter writes into the GIR file using the AST. The latter is a bit easy, because the GirWriter simply visits all code nodes and prints each one of them into the GIR file. However, we found the first one to be pretty challenging, about which we will discuss in a bit! Week 1: Support for glib:sync-func , glib:async-func , and glib:finish-func attributes Firstly we went through vala GIR files to decide how to implement support for these attributes: