view src/luan/modules/luan_to_java.luan @ 1257:e38f5869e9df

don't reset in send_redirect and other improvements
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 20 Sep 2018 21:04:41 -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" ) )