File tree 3 files changed +20
-24
lines changed
3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -10,34 +10,10 @@ testing
10
10
The core structures used for representing abstract syntax trees are all
11
11
documented in \ref util.
12
12
13
- \subsection ast-examples-section Examples: how to represent the AST of statements, in C and in java
14
-
15
- \subsubsection ast-example-1-section x = y + 123
16
-
17
- To be documented..
18
-
19
- \subsubsection ast-example-2-section if (x > 10) { y = 2 } else { v[ 3] = 4 }
20
-
21
- To be documented.
22
-
23
- \subsubsection ast-example-3-section Java arrays: struct Array { int length, int * data };
24
-
25
- To be documented.
26
-
27
-
28
13
\section data-structures-from-ast-to-goto-program-section Data structures: from AST to GOTO program
29
14
30
- \subsection goto-programt-section goto_programt
31
-
32
15
See \ref goto-programs, \ref goto_programt and [ instructiont] (\ref goto_programt::instructiont).
33
16
34
- \subsection goto-program-example-section Example:
35
-
36
- \subsubsection goto-program-example-1-section Unsigned mult (unsigned a, unsigned b) { int acc, i; for (i = 0; i < b; i++) acc += a; return acc; }
37
-
38
- To be documented.
39
-
40
-
41
17
\section front-end-languages-generating-codet-from-multiple-languages-section Front-end languages: generating codet from multiple languages
42
18
43
19
\subsection language-uit-section language_uit, language_filest, languaget classes:
Original file line number Diff line number Diff line change @@ -371,3 +371,9 @@ previous stage:
371
371
block.
372
372
373
373
This stage concludes the * analysis-independent* program transformations.
374
+
375
+ \subsection goto-program-example-section Example:
376
+
377
+ \subsubsection goto-program-example-1-section Unsigned mult (unsigned a, unsigned b) { int acc, i; for (i = 0; i < b; i++) acc += a; return acc; }
378
+
379
+ To be documented.
Original file line number Diff line number Diff line change @@ -130,3 +130,17 @@ digraph G {
130
130
2 -> 3 [ label="Command line options, file names"] ;
131
131
}
132
132
\enddot
133
+
134
+ \subsection ast-examples-section Examples: how to represent the AST of statements, in C and in java
135
+
136
+ \subsubsection ast-example-1-section x = y + 123
137
+
138
+ To be documented..
139
+
140
+ \subsubsection ast-example-2-section if (x > 10) { y = 2 } else { v[ 3] = 4 }
141
+
142
+ To be documented.
143
+
144
+ \subsubsection ast-example-3-section Java arrays: struct Array { int length, int * data };
145
+
146
+ To be documented.
You can’t perform that action at this time.
0 commit comments