Procedural Macros?

Hello everyone,

I recently got interested in Vala because among the languages I work with is C# and I personally very like its syntax. I also worked with rust and other languages and got to like various of its features. One of which is procedural macros. Because I am very new to Vala I was wondering if something like this would be interesting for Vala or if it would strictly contradict its design paradigm?

Usually this would lead to less repetitive work in various situations. It would make implementation of an ECS way more user friendly due to automatic creation of helper classes and archetypes etc.

It would also allow for user defined attributes that generate code based on its target.

The idea here would be that the macros generate Vala code that is then processed by the normal compiler. Of course this is possible by creating custom code generators but I think the in-code definition of these macros is a huge advantage.