Mercurial Hosting > luan
view src/luan/modules/luan_to_java.luan @ 1590:bce893009f90
add java compiler check
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 17 Mar 2021 19:50:08 -0600 |
parents | 8d95711f6615 |
children |
line wrap: on
line source
require "java" local LuanCompiler = require "java:luan.impl.LuanCompiler" local Io = require "luan:Io.luan" Io.stdout.write( LuanCompiler.toJava( Io.stdin.read_text(), "stdin" ) )