- Compilers Craft is a simple programming language compiler similar to C++.
- Compilers Craft is handling the most common data types like integers, floats, bools, char and strings.
- Compilers Craft is supporting:
- Variables and Constants declaration.
- Mathematical, logical, and bitwise expressions.
- Assignment statements.
- If-then-else statement, while loops, do-while loops, for loops, switch statement.
- Block structure (nested scopes where variables may be declared at the beginning of blocks).
- Functions.
- GCC:
- GNU Compiler Collections which is used to compile mainly C and C++ language.
- Flex:
- Faster scanner generator like lex.
- Bison:
- Parser generator like yacc.
- tkinter:
- Python library for implementing GUI.
- Using terminal:
- flex lexer.l
- bison -d parser.y
- gcc *.c -o out.exe
- write your Code inside a file, for example in.txt
- .\out.exe in.txt
- Using GUI:
- Open CMD in the GUI directory, type python gui.py
- Write your Code inside
- Press Compile!
video.mp4
Asmaa Adel |
Samaa Hazem |
Norhan reda |
HodaGamal |