view core/src/luan/modules/luan_to_java.luan @ 734:e44e98fe9de8

add scheme "os:..."
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 14 Jun 2016 17:54:12 -0600
parents 77e0c859c8a3
children
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" ) )