Question: The project will be coded in Java-C-Python as you choose ject : Compiler ( Individual) Your project must take the source code as a simple
The project will be coded in Java-C-Python as you choose ject : Compiler ( Individual) Your project must take the source code as a simple equation and when you run the project the output must be the output of the compiler phases. You have to implement all the compilation probabilities. For example : Dymnamic source code :=>y=x2.0+z3.0r Output :=> - Task-1: Lexical Analyser : as tokens .. (I week) - Task-2: Syntax Analyzer : as a parse tree .... - Task-3: Semantic Analyser : as a symantic tree ( with the datatypes conversion) (Tasks 2&3 will be submitted after 2 weeks) - Task-4: Intermediate code generation : 3-address code ... - Task-5: Code optimizer : 3-adress code optimized (Tasks 4\& 5 will be submitted after 2 weeks) - Task-6: Code Generation: 3-adress code optimized (I week) "* your source code must contain 2 datatypes( int \& float)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
