view src/luan/modules/luan_to_java.luan @ 1274:383f924dfe9d

support multipart files in http request
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Dec 2018 06:08:20 -0700
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" ) )