Stage 0 : Installation and Preparation¶
Time estimate
2 weeks, 5-10 hours/week
Pre-requisite Reading
NIL
In this stage, you will download and familiarize yourself with the simulation package and learn the compiler design software tools LEX and YACC. Follow the instructions below.
-
Install the LEX, YACC and the XSM simulator package. Follow the instructions here
You need to learn two software tools - YACC and LEX which you will use in the project. These tools are somewhat sophisticated. Fortunately, understanding what is enough for the purpose of our compiler project is not very difficult. The following tutorials will help you through this process.
If you are not already familiar with the tools LEX and YACC do the following:
-
Complete the LEX tutorial.
-
Complete the YACC tutorial.
-
Complete the Using YACC with LEX tutorial.
-
Complete the GDB Tutorial
The next step is to understand the target machine envionment. You must carefully go through the following tutorial before proceeding to the next stage of this roadmap.
-
Complete the XSM execution environment tutorial.
With this, you are ready with all the required pre-requisites to proceed further in this roadmap.