aboutsummaryrefslogtreecommitdiff
path: root/licentia/source/program
diff options
context:
space:
mode:
authorEduardo Julian2021-08-23 02:30:53 -0400
committerEduardo Julian2021-08-23 02:30:53 -0400
commitec1f31b5a1492d5e0ab260397291d4449483bbd9 (patch)
treec730b4ca89af366779b0ad0f46fae705b5c2bcbc /licentia/source/program
parent1ea83ecadccc5adee1bdb35bd11527c3982c015e (diff)
The Python compiler can now be compiled by the new JVM compiler.
Diffstat (limited to 'licentia/source/program')
-rw-r--r--licentia/source/program/licentia.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux
index 50fb066e9..14f29237f 100644
--- a/licentia/source/program/licentia.lux
+++ b/licentia/source/program/licentia.lux
@@ -67,14 +67,14 @@
(do (try.with io.monad)
[blob (\ file.default read input)
document (io\wrap (do {! try.monad}
- [raw_json (\ utf8.codec decode blob)
+ [raw_json (\ utf8.codec decoded blob)
json (|> raw_json
java/lang/String::trim
- (\ json.codec decode))]
+ (\ json.codec decoded))]
(|> json
(<json>.result /input.license)
(\ ! map /output.license))))]
- (\ file.default write (\ utf8.codec encode document) output)))]
+ (\ file.default write (\ utf8.codec encoded document) output)))]
(wrap (debug.log! (case ?done
(#try.Success _)
(success_message output)