Commit graph

6 commits

Author SHA1 Message Date
James Harton
20bb5314cc Track types for locals and properties. 2019-03-20 16:19:59 +13:00
James Harton
ee3df9a527 Ensure that if expressions parse and build correctly. 2019-03-18 20:20:39 +13:00
James Harton
536e5cc5f4 Code gardening. 2019-03-18 18:54:21 +13:00
James Harton
b0ab1a4717 Store blocks on the context and reference them.
Because we need to build a control-flow graph from all our blocks don't
store them haphazard all over the place but in a single blocks
collection on the context object.
2019-03-18 13:01:27 +13:00
James Harton
26ed1130e7 Use blocks rather than vecs or IR all over the place. 2019-03-18 08:53:47 +13:00
James Harton
30fdff315b Build IR 2019-03-17 18:54:35 +13:00