There are two types of resources in eXPL -
- Script resource, provides external eXPL script to be compiled and referenced by an "include resource" statement,
- Axiom resource, binds an axiom declaration to a provider for the senquential input and/or output of axioms
Script Resource
The script resource format is:
The import location defaults to the current working directory, but can be programmed to a different location.
Axiom Resource
The provider of an axiom resource can be input-only, output-only or bi-directional. The resource name may be same as the axiom declaration to which it is bound (implicit) or independent and therefore named explicitly. In the following formats, the resource term is either reserved word resource - implying same name as axiom name, or in the case of an independent name, it is a string in quotes eg. "cities" for a "City" database table.
Axiom Resource Input
The declaration for an axiom source bound to a resource has format:
