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?
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
directiveMaphere 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
ADTTablesimilar to therecordTable?