Compiler: Difference between revisions

From 太極
Jump to navigation Jump to search
(Created page with "= Lexical Analysis = = Parsing = = Semantic Analysis = = Optimization = = Code Generation =")
 
Line 1: Line 1:
= Lexical Analysis =
= Lexical Analysis =
<pre>
  if (i == j)
    z = 0;
  else
    z = 1;
</pre>
is indeed below in computers
<pre>
\tif (i == j)\n\t\tz = 0;\n\telse\n\t\tz = 1;
</pre>


= Parsing =
= Parsing =

Revision as of 12:19, 26 November 2014

Lexical Analysis

  if (i == j)
    z = 0;
  else
    z = 1;

is indeed below in computers

\tif (i == j)\n\t\tz = 0;\n\telse\n\t\tz = 1;

Parsing

Semantic Analysis

Optimization

Code Generation