Mercurial > lcfOS
comparison doc/compiler.rst @ 310:e95e5572cd6d
Added utils doc page
author | Windel Bouwman |
---|---|
date | Fri, 13 Dec 2013 14:10:10 +0100 |
parents | 2e7f55319858 |
children | 38f5f298ce0e |
comparison
equal
deleted
inserted
replaced
309:68b01c8abf8a | 310:e95e5572cd6d |
---|---|
34 ------- | 34 ------- |
35 | 35 |
36 The intermediate representation (IR) of a program de-couples the front end | 36 The intermediate representation (IR) of a program de-couples the front end |
37 from the backend of the compiler. | 37 from the backend of the compiler. |
38 | 38 |
39 See ir for details about all the available instructions. | 39 See :doc:`ir` for details about all the available instructions. |
40 | 40 |
41 | 41 |
42 C3 Front-end | 42 C3 Front-end |
43 ------------ | 43 ------------ |
44 | 44 |
54 20 [label="parser" ] | 54 20 [label="parser" ] |
55 40 [label="code generation"] | 55 40 [label="code generation"] |
56 99 [label="IR-code object"] | 56 99 [label="IR-code object"] |
57 1 -> 10 | 57 1 -> 10 |
58 10 -> 20 | 58 10 -> 20 |
59 20 -> 40 [label="AST tree"] | 59 20 -> 40 |
60 40 -> 99 | 60 40 -> 99 |
61 } | 61 } |
62 | 62 |
63 .. autoclass:: ppci.c3.Lexer | 63 .. autoclass:: ppci.c3.Lexer |
64 | 64 |