Developed a compiler by a French language keywords as a school project using C language. Gained a thorough understanding of the compilation process, including lexical analysis, syntax analysis, semantic analysis, and interpretation
--> Declaration
variable typeOfVar nameOfVar .
--> Affectation
nameOfVar := value ;
--> Scanning value
lire ( nameOfVar ) ;
--> printing
ecrire ( " letter " ) ;
ecrire ( var ) ;
--> Comparing
si ( var1 operator var2 ) instraction ;
si ( var1 operator var2 ) instraction sinon instruction ;
remarque " si equivalent of if , sinon equivalent of else " .
--> Comments //
--> Detect comments lines .
--> Inform you by the mistakes you made and indicate ( the line, type of Error in Each line ) .
--> Take values of variables by affectations( := ) or from the user input by lire ( ) function .
--> Print the value by ecrire ( ) function .
--> Comparing values by si ( ) function .
https://www.youtube.com/watch?v=xmXJp1G0Q20&t=17s&ab_channel=IsmailForeveryone