Crate swipl_macros

source ·
Expand description

swipl-macros provides procedural macros for the swipl crate.

Macros

  • Create a static atom.
  • Create a static functor.
  • Generate an inline callable predicate.
  • Define foreign predicates written in rust for use in prolog.
  • Define prolog predicates to be used from rust code.
  • Generate a term from a rust expression.
  • Define a wrapped arc blob.
  • Define a wrapped clone blob.

Attribute Macros