Skip to content

Improve support for annotations #977

@thomas-bc

Description

@thomas-bc

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"]
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions