diff options
author | Eduardo Julian | 2019-03-17 22:19:06 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-17 22:19:06 -0400 |
commit | 54b69afa96cd00b174b07c3f23b496b5e5b63858 (patch) | |
tree | 79b89aeb923b6212de76379beb6c823d39d4af3a /stdlib/source/lux/tool/compiler/default/init.lux | |
parent | a6f04f38c0170e93e8f1ab2cfcde3cbf59f88b0b (diff) |
Now compiling program statements.
Diffstat (limited to 'stdlib/source/lux/tool/compiler/default/init.lux')
-rw-r--r-- | stdlib/source/lux/tool/compiler/default/init.lux | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/lux/tool/compiler/default/init.lux b/stdlib/source/lux/tool/compiler/default/init.lux index 9c7aa546c..4686441f1 100644 --- a/stdlib/source/lux/tool/compiler/default/init.lux +++ b/stdlib/source/lux/tool/compiler/default/init.lux @@ -71,18 +71,19 @@ [(analysisE.bundle eval)])) state)]))) -(def: #export (state expander host generate generation-bundle) +(def: #export (state expander host generate generation-bundle program) (All [anchor expression statement] (-> Expander (generation.Host expression statement) (generation.Phase anchor expression statement) (generation.Bundle anchor expression statement) + (-> expression statement) (///statement.State+ anchor expression statement))) (let [synthesis-state [synthesisE.bundle ///synthesis.init] generation-state [generation-bundle (generation.state host)] eval (//evaluation.evaluator expander synthesis-state generation-state generate) analysis-state [(analysisE.bundle eval) (///analysis.state ..info host)]] - [statementE.bundle + [(statementE.bundle program) {#///statement.analysis {#///statement.state analysis-state #///statement.phase (analysisP.phase expander)} #///statement.synthesis {#///statement.state synthesis-state |