Skip to content

Commit c93ebf1

Browse files
authored
Merge pull request #3 from BIH-MI/improve-parsing
Improve parsing
2 parents 5acdacf + 338c2f4 commit c93ebf1

6 files changed

Lines changed: 2342 additions & 198 deletions

File tree

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,45 @@
22

33
## About HERALD
44

5-
HERALD stands for Human-centric Extraction for Research and Analysis of Longitudinal Data. It is a specialized query language designed to facilitate the extraction and aggregation of data into cross-sectional tables for statistical analyses and machine learning. The design of HERALD's syntax is intuitive, closely mirroring natural language to enhance user accessibility and efficiency. The prototype implementation consists of a HERALD excecution engine, combined with a graphical query editor, and paired with analytics functionalities to showcase the capabilities of the HERALD query language.
5+
HERALD stands for Human-centric Extraction for Research and Analysis of Longitudinal Data. It is a specialized query language designed to facilitate the extraction and aggregation of longitudinal data into cross-sectional tables for statistical analyses and machine learning. HERALD's syntax closely mirrors natural language. The prototype implementation consists of an excecution engine, a graphical query editor, and an online demo supporting analytics functionalities.
66

7-
This repository, "herald-lang," houses the core functionalities of HERALD.
7+
This repository, "herald-lang," contains the core modules of HERALD.
88

99
## Repository Contents
1010

11-
- `herald-core`: This module forms the core of the HERALD query language. It encompasses the language's grammar, parser, and lexer, providing the essential components that define and interpret HERALD's syntax and commands.
11+
- `herald-core`: This module forms the core of the HERALD query language. It encompasses the language's grammar, parser, and lexer, as well as an execution engine.
1212

13-
- `herald-ui`: This component is dedicated to the user interface aspects of HERALD. It includes an intuitive graphical query editor, facilities for query binding, and tools for browsing and interacting with concept hierarchies.
13+
- `herald-ui`: This component implements a user interface for graphically building queries and browsing the concept hierarchy contained within a dataset.
1414

15-
- `ghdm-data`: This module incorporates the generic data model integral to HERALD and supports various data loading and wrangling functionalities.
15+
- `ghdm-data`: This module provides the generic data model used by HERALD and supports various data loading and wrangling functionalities.
1616

17-
- `ghdm-ui`: This module houses additional UI elements, such as cohort selection and various modals.
17+
- `ghdm-ui`: This module contains additional UI elements, such as interfaces for cohort selection.
1818

1919

2020
## Bundling Instructions
2121

22-
To bundle HERALD-Lang for deployment or distribution, follow these steps:
22+
To bundle HERALD-Lang for deployment or distribution, run the `bundling.sh` script in your console. This script initiates the webpack bundling process, installs respective dependencies and stores the bundled files in a `dist` folder.
2323

24-
1. Run the `bundling-all.sh` script in your console. This script initiates the webpack bundling process.
25-
2. The script will install respective dependencies and create bundled files in a `dist` folder.
26-
3. Copy the bundled files from the `dist` folder to the `src` folder in the [herald-demo](https://github.com/BIH-MI/herald-demo) repository to use them in the live demo and see HERALD in action.
24+
To see the results in action, copy the bundled files from the `dist` folder to the `src` folder in the [herald-demo](https://github.com/BIH-MI/herald-demo) repository to use them in the demo.
2725

28-
## Live demo
26+
## Building the Grammar
2927

30-
A live demonstration is accessible at [herald-lang.org](http://herald-lang.org) with the respective code stored at [herald-demo](https://github.com/BIH-MI/herald-demo).
28+
`npm install -g nearley`
29+
`nearleyc herald-grammar.ne -o herald-grammar.js`
3130

31+
## Debugging the Grammar
3232

33-
## Contact
33+
`https://nearley.js.org/docs/tooling`
34+
35+
## Online demo
3436

35-
If you have questions or problems, we would like to invite you to open an issue at Github. This allows other users to collaborate and (hopefully) answer your question in a timely manner. If your request contains confidential information or is not suited for a public issue, send us an email.
37+
An online demonstration is available at [herald-lang.org](http://herald-lang.org) with the respective code managed at [herald-demo](https://github.com/BIH-MI/herald-demo).
38+
39+
## Contact
3640

37-
| Name | Email |
38-
|-------------------------------|-------------------------------------------|
39-
| [Fabian Prasser](https://github.com/prasser) | [fabian.prasser@charite.de](mailto:fabian.prasser@charite.de) |
40-
| [Lena Baum](https://github.com/bihmi-lb) | [lena.baum@charite.de](mailto:lena.baum@charite.de) |
41-
| [Armin Müller](https://github.com/muellerarmin) | [armin.mueller@charite.de](mailto:armin.mueller@charite.de) |
42-
| [Marco Johns](https://github.com/Lumiukko) | [marco.johns@charite.de](mailto:marco.johns@charite.de) |
41+
If you have questions or problems, please open an issue on GitHub or contact us directly.
4342

44-
You can also find us at our working group's website [mi.bihealth.org](https://mi.bihealth.org).
43+
You can find out more about our work here: [mi.bihealth.org](https://mi.bihealth.org).
4544

4645
## License
4746

0 commit comments

Comments
 (0)