https://github.com/mariantaragel/ifj22-compiler
Compiler of an imperative programming language IFJ22
https://github.com/mariantaragel/ifj22-compiler
c compiler project
Last synced: 2 months ago
JSON representation
Compiler of an imperative programming language IFJ22
- Host: GitHub
- URL: https://github.com/mariantaragel/ifj22-compiler
- Owner: mariantaragel
- Created: 2023-05-06T19:04:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-06T21:57:48.000Z (about 2 years ago)
- Last Synced: 2025-02-03T08:36:41.878Z (4 months ago)
- Topics: c, compiler, project
- Language: C
- Homepage:
- Size: 1.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IFJ22 compiler
This project is a compiler of IFJ22 programming language. IFJ22, is a subset of the PHP programming language with some minor changes. The target language, which can be interpreted, is called IFJcode22.## Percentage rating of compiler modules:
Lexical analysis (error detection): 100 % (165/165)
Syntactic analysis (error detection): 100 % (208/208)
Semantic analysis (error detection): 100 % (363/363)
Interpretation of generated code (basic): 90 % (257/285)
Interpretation of generated code (expressions, built-in functions): 96 % (178/185)
Interpretation of generated code (complex): 80 % (298/370)Overall without extension: 93 % (1469/1576)
## Authors
- xhorva17 [Martin Horvát](https://github.com/xhorva)
- xklajb00 [David Klajbl](https://github.com/SuprisinglyBoring)
- xtarag01 [Marián Tarageľ](https://github.com/mariantaragel)
- xchrom19 [Ondřej Chromý](https://github.com/Xromi)## Resources
[1] Alexander Meduna. Elements of compiler design. Auerbach Publications, 2007.
[2] Ozan Yigit. [A collection of non-cryptographic hash functions](http://www.cse.yorku.ca/~oz/hash.html#sdbm).
[3] [galloj](https://github.com/galloj). [IFJ22_Tester](https://github.com/galloj/IFJ22_Tester)