Mercurial Hosting > luan
view src/luan/modules/luan_to_java.luan @ 1515:78d937870762
Thread.synchronized
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 30 May 2020 17:58:35 -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" ) )