Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.04 KB

Chain

Proof-of-concept declarative 'programming language' in RDF.

See the apps directory for example applications.

Every application consists of two parts, activation resources and translation resources.

Activation resources define a set of conditions the state must adhere to in order to evaluate true. When they do, the linked set of translation resources are marked as active for the cycle.

Translation resources define translations in the application state (store). Once marked for execution, the core will execute contained translations and write back the added and deleted triples (if any).

The core will terminate once no activation states evaluate true.

Running

  1. Clone the repo
  2. $ yarn install
  3. $ yarn start
  4. Browse to http://localhost:3000/
  5. Open the console to see the application output.
  6. Edit the application variable in src/index.js to load different applications.

Be sure to have ES6 modules enabled in your browser (probably requires setting a flag at the time of writing).