diff options
| author | Alasdair | 2018-06-23 18:16:42 +0100 |
|---|---|---|
| committer | Alasdair | 2018-06-23 18:23:21 +0100 |
| commit | 5f729ff5afbe26423143006cf616f11d0790ac01 (patch) | |
| tree | 7dd09b5bef8b81d51470cf629d81daa6909dfdb3 /lib | |
| parent | 74e459da59e8411de84bded89d010e62fd735d29 (diff) | |
Split Sail->ANF translation into its own file
Refactor the C compilation process by moving out the conversion to
A-normal form into its own file. Also make the A-normal form AST
parameterised by the type of the types annotating it. The idea being we
can have a typ aexp -> ctyp aexp translation, converting to low-level
types at a slightly higher level before mapping into our low-level IR.
This would fix some issues we have where the type of variables change
due to flow typing, because we could map the sail types to low-level
types in the ANF ast where we still have some knowledge about the
structure of the original Sail.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
