Skip to content

Enable import/export of memory layouts #567

Open
@j-stephan

Description

@j-stephan

(Follow-up to a conversation we had today)

In a CMS presentation by @fwyzard we found an interesting use case: defining memory layouts outside of a C++ source code. In this example, the layout is pre-defined in an XML file, but other formats are certainly possible.

Example:

<class name="SomeSoAStruct">
    <field name="raw_mem" />
    <field name="bytes" />
    <field name="x" comment="[vector]" />
    <field name="y" comment="[vector]" />
    <field name="z" comment="[vector]" />
    <field name="a" comment="[scalar]" />
</class>

The import of the file should result in a corresponding LLAMA type. Would this be possible in LLAMA? And would an import/export functionality fit its scope?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions