Mercurial Hosting > luan
view src/luan/modules/luan_to_java.luan @ 1475:c7b86342857f
more IoUtils
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 18 Apr 2020 11:02:18 -0600 |
parents | 8d95711f6615 |
children |
line wrap: on
line source
require "java" local LuanCompiler = require "java:luan.impl.LuanCompiler" local Io = require "luan:Io.luan" Io.stdout.write( LuanCompiler.toJava( Io.stdin.read_text(), "stdin" ) )