diff options
author | Eduardo Julian | 2021-08-23 02:30:53 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-08-23 02:30:53 -0400 |
commit | ec1f31b5a1492d5e0ab260397291d4449483bbd9 (patch) | |
tree | c730b4ca89af366779b0ad0f46fae705b5c2bcbc /licentia/source | |
parent | 1ea83ecadccc5adee1bdb35bd11527c3982c015e (diff) |
The Python compiler can now be compiled by the new JVM compiler.
Diffstat (limited to 'licentia/source')
-rw-r--r-- | licentia/source/program/licentia.lux | 6 |
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) |