Mercurial Hosting > luan
view src/luan/modules/luan_to_java.luan @ 1267:9fa8b8389578
add LuanTable.luan;
support metatable __gc();
add luan.sql;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 12 Nov 2018 02:10:41 -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" ) )