It could be useful to formalize the system where we use annotations for specific downstream processing. We have a few examples where we've built on top of the annotation system to do some custom post-FPP processing (e.g. subtopology parametarization back in they day, fprime-python, etc.).
But how each implementation used this is very ad-hoc.
An example could be:
@ My annotation
@!decorated_value
struct MySuperStruct {
x: U32
}
And you'd get in the model
// pseudocode
MySuperStruct {
annotation: "My annotation\n!decorated_value"
decorators: ["decorated_value"]
}
It could be useful to formalize the system where we use annotations for specific downstream processing. We have a few examples where we've built on top of the annotation system to do some custom post-FPP processing (e.g. subtopology parametarization back in they day,
fprime-python, etc.).But how each implementation used this is very ad-hoc.
An example could be:
And you'd get in the model