diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/generator.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/generator.lux b/new-luxc/source/luxc/generator.lux index ad5f578e3..90e0ca4cf 100644 --- a/new-luxc/source/luxc/generator.lux +++ b/new-luxc/source/luxc/generator.lux @@ -22,7 +22,7 @@ (generator ["&&;" runtime] ["&&;" statement] ["&&;" common] - ["&&;" expr] + [";G" expression] ["&&;" eval]) )) @@ -41,7 +41,7 @@ [[_ metaA] (&;with-scope (&;with-expected-type Code (analyse metaC))) - metaI (&&expr;generate (&synthesizer;synthesize metaA)) + metaI (expressionG;generate (&synthesizer;synthesize metaA)) metaV (&&eval;eval metaI) [_ valueT valueA] (&;with-scope (if (meta;type? (:! Code metaV)) @@ -51,7 +51,7 @@ (wrap [Type valueA]))) (&analyser/common;with-unknown-type (analyse valueC)))) - valueI (&&expr;generate (&synthesizer;synthesize valueA)) + valueI (expressionG;generate (&synthesizer;synthesize valueA)) _ (&;with-scope (&&statement;generate-def def-name valueT valueI metaI (:! Code metaV)))] (wrap [])) @@ -63,7 +63,7 @@ [[_ programA] (&;with-scope (&;with-expected-type (type (io;IO Unit)) (analyse programC))) - programI (&&expr;generate (&synthesizer;synthesize programA))] + programI (expressionG;generate (&synthesizer;synthesize programA))] (&&statement;generate-program program-args programI)) _ |