Xalgorithms / general-examples

A repository used for rule package examples. May eventually contain core rules.
Apache License 2.0
1 stars 2 forks source link
documentation example

License: AGPL v3

This repository is intended to be a prototype for rule repositories used by Interlibr. It follows a basic structure:

Every top-level directory is intended to be a namespace in Xalgo terms.

The namespace directory can contain .rule, .table or .json files. The .rule files will be interpreted as Xalgo expressions. The .table files contain meta-information about tables that are made available within Interlibr. If there are DATA statements in the .table files referencing local .json files, then the table will be populated with data from those files.

If there are top-level directories that are not namespaces then namespaces.txt can be used as a white-list to indicate which directories should be considered namespaces.