Mercurial Hosting > luan
view core/src/luan/modules/luan_to_java.luan @ 744:4b8695f1cfc4
add rpc IO type
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 13 Jul 2016 20:39:08 -0600 |
parents | 77e0c859c8a3 |
children |
line wrap: on
line source
java() local LuanCompiler = require "java:luan.impl.LuanCompiler" local Io = require "luan:Io.luan" Io.stdout.write( LuanCompiler.toJava( Io.stdin.read_text(), "stdin" ) )