Skip to content

Feature/87 parsers#166

Merged
MaillPierre merged 6 commits into
feature/corese-nextfrom
feature/87_parsers
Jul 3, 2025
Merged

Feature/87 parsers#166
MaillPierre merged 6 commits into
feature/corese-nextfrom
feature/87_parsers

Conversation

@prbblrypier
Copy link
Copy Markdown
Contributor

This is the Turtle Parser using ANTLR.

1 - We add the Antlr plugins and dependencies in build.gradle.kts
2 - We add the tasks to generateGrammarSource in build.gradle.kts
3 - to get the generate antlr files you need to build the project
4 - the sources will be in generated-src/antlr/main
5 - We generated a Listener and a Visitor to handle the ParseTree and populate the Model
6 - Listener is more suited for our use case. Visitor is better when we need random access and it seems more complex to parse the Tree.

@remiceres remiceres force-pushed the feature/87_parsers branch from c9b2f73 to 274b1d9 Compare July 1, 2025 08:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

Overall Project 48.14% -0.16% 🍏
Files changed 50.42%

File Coverage
TurtleListenerImpl.java 63.31% -36.69% 🍏
ANTLRTurtleParser.java 62.65% -37.35% 🍏
RDFFormats.java 38.32% -61.68%
TurtleParserFactory.java 0%
ParsingErrorException.java 0%
UnsupportedFileFormatException.java 0%

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 1, 2025

Test Results

615 tests  +7   615 ✅ +7   29s ⏱️ -1s
 39 suites +2     0 💤 ±0 
 39 files   +2     0 ❌ ±0 

Results for commit 274b1d9. ± Comparison against base commit 59ca47e.

@MaillPierre MaillPierre merged commit 700ccb5 into feature/corese-next Jul 3, 2025
2 checks passed
@remiceres remiceres deleted the feature/87_parsers branch July 3, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants