view src/luan/modules/luan_to_java.luan @ 1255:4f571a974132

replace Thread.schedule with Thread.once and Thread.repeating
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 03 Sep 2018 06:13:55 -0600
parents 1a68fc55a80c
children 8d95711f6615
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" ) )