ACE Editor for PROVN
The presented editor integrates ACE editor with custom syntax highlighting and syntax validation using ANTLR4 grammar for PROV-N.
PROV-N is standard notation to hold provenance of data part of recomendation of W3C PROV-O Ontology.
The proof of concept sample editor can
- communicate with other web apps using cross document messaging API (window.opener.postMessage()).
- be filled by initial content using hash parameter
- ‘content’ for plain/text e.g.: https://h2020-westlife-eu.github.io/prov-n-editor/#content=document%0Dentity(e1)%0DendDocument
- ‘contentBase64’ for base64 encoded text
- ‘contentLZ’ for LZ compressed and base64 encoded text,
Live demo
- h2020-westlife-eu.github.io/prov-n-editor/
- Empty document
- short document
- longer document encoded base64
Source code
- https://github.com/h2020-westlife-eu/prov-n-editor
Written on August 7, 2018