https://github.com/elkard/tkom_parserandinvariantsoptimizer
Project for the ‘Compilation Techniques’ course on 6th semester. Firstly I defined the grammar of my own language. Then I implemented a lexical analyzer, parser and semantic analyzer. These modules generate the syntax tree of the given source code (or display the error line with the description of the error). If the source code is correct, the next module (the optimizer) optimizes the syntax tree by detecting invariants in the loops and moving them before the loop. After optimization, the app generates new code based on the modified syntax tree.
https://github.com/elkard/tkom_parserandinvariantsoptimizer
invariants java lexer parser syntax-tree
Last synced: 4 days ago
JSON representation
Project for the ‘Compilation Techniques’ course on 6th semester. Firstly I defined the grammar of my own language. Then I implemented a lexical analyzer, parser and semantic analyzer. These modules generate the syntax tree of the given source code (or display the error line with the description of the error). If the source code is correct, the next module (the optimizer) optimizes the syntax tree by detecting invariants in the loops and moving them before the loop. After optimization, the app generates new code based on the modified syntax tree.
- Host: GitHub
- URL: https://github.com/elkard/tkom_parserandinvariantsoptimizer
- Owner: elkaRD
- Created: 2020-06-05T21:07:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T22:17:39.000Z (almost 6 years ago)
- Last Synced: 2025-11-01T09:07:04.955Z (8 months ago)
- Topics: invariants, java, lexer, parser, syntax-tree
- Language: Java
- Homepage:
- Size: 1.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files: