view src/luan/modules/luan_to_java.luan @ 1230:034f2a0b3915

better gc
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 04 Apr 2018 14:54:29 -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" ) )