C Extension API
C Extension API
Headers for native extension and component authors.Use these headers to connect a native component to Maelys Datalog or to implement one. The references below document each installed header and link to an executable guide for its native components.
Extension registration
Extension registration reference · Extension registration guide
<maelys/datalog_extension.h> is for extension authors and native integrators. It declares component bundles and the contexts used to register and select their frontends, backends, filters and planners.
Native modules
Native modules reference · Native modules guide
<maelys/datalog_module.h> is for filter and planner authors. It defines callback descriptors for native filters and join-order planning modules.
Frontends
Frontends reference · Frontends guide
<maelys/datalog_frontend.h> is for frontend authors. It defines the lowering callback and the builder operations used to supply normalized facts and rules.
Backends
Backends reference · Backends guide
<maelys/datalog_backend.h> is for backend authors. It defines solver descriptors and their lifecycle, retained-input and resource-service contracts.
For application-facing operations, use the C API reference.