After listening to the podcast i got a whole new vision to the "layers" and the importance into understanding the benefits that you can get from looking into every layer, and for that every day there is a lot of effort from all the compiler developer in order to improve this functionalities.
Now we can actually threw all of the stages in which the source code that is written by the programmers into the target code that understands the computer and can execute it. First the lexical analysis we are going to check all of the characters stream into a token stream, that basically means looking for all of this reserved word or variables that will be used justa as "and, or, do".
The second stage is the is where we introduce the abstract syntax tree in order to see the order in which the operations are going to be compute.The third phase is going to be a check to see if the variables were declared in the previous version. And Finally the code generation that can be easy explained to be the translation from a higher order language into a lower.
Finally just to mention a few things of the GCC some of their advantage like the flexibility and the portability because this compiler works in linux, MacOS and even Windows can get the distribution. Also this compiler can read source files inputs like ADA, Fortran C++ and so much others. In my own opinion this is pretty good because even the non experts in compiler design can get a very good comprehension of the activities that the gcc compiler is making. All of the phases explained here will help see my project in a so much easy way ando will make see all of the derivables more clear from now on,
Comentarios
Publicar un comentario