Skip to content

ADT definitions accessible from compiled souffle? #2181

Description

@aeflores

Is there a way to access the ADT definitions from a compiled instance of a souffle program.
I see that a representation of these definitions is included in the directiveMap here https://github.com/souffle-lang/souffle/blob/master/src/synthesiser/Synthesiser.cpp#L353 for printing and reading files, but I don't see a way to access this programmatically.
Am I missing something?

It also looks like the directive maps of all relations include all the ADT definitions? That seems like a lot of unnecessary duplication.

Should there be an ADTTable similar to the recordTable?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions