Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.35 KB

README.md

File metadata and controls

13 lines (9 loc) · 1.35 KB

#rev. 0.3

euporia

Presentation

Euporia is an annotation tool based on Domain Specific Languages (DSLs). You can create the Context-Free Grammar for your DSL and generate the parser for your language. Your grammar must be named Euporia and the starting rule must be start.

Instructions

The current version of Euporia is an applet for eXist-db 5.3.0. Install the docker for eXist-dba (tested on the 5.3.0-SNAPSHOT release) and upload your euporia-0.1.xar file through the eXist-db Package Manager.

Write your grammar as a .g4 ANTL4 grammar with parser and lexer in the same document, and then copy and paste it into the Parser Forge, in order to create the parser. Dowload the generated euporia.js file and upload it into the js/euporia folder by overriding the file with the same name.

Through the eXist-db IDE, upload your .xml files into the data folder and customize the index.xql and dbmanager.xql files.

If you want start annotating, be sure to be logged into eXist-db and open the Annotation Panel.