rev: release-0.15 scopes/doc/architecture.rst -rw-r--r-- 679 bytes View raw Log this file
e53de6d7cb89 — Leonard Ritter * win32 build fix 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Architecture
============

Scopes understands and transforms source code in multiple cleanly separated stages:

=====  ===========  =======================  ======================
Order  Stage        From                     To
=====  ===========  =======================  ======================
1      Parsing      Data Interchange Format  S-Expression Tree
2      Expansion    S-Expression Tree        Untyped Scopes AST
3      Checking     Untyped Scopes AST       Typed Scopes IL
4      Translation  Typed Scopes IL          LLVM IR / SPIR-V
5      Execution    LLVM IR / SPIR-V         Program Output
=====  ===========  =======================  ======================

TODO