Mercurial Hosting > luan
comparison core/src/luan/modules/luan_to_java.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | 49f3d290bebd |
children | 77e0c859c8a3 |
comparison
equal
deleted
inserted
replaced
692:7bd97d642f37 | 693:ca169567ce07 |
---|---|
1 java() | 1 java() |
2 local LuanCompiler = require "java:luan.impl.LuanCompiler" | 2 local LuanCompiler = require "java:luan.impl.LuanCompiler" |
3 local Io = require "luan:Io" | 3 local Io = require "luan:Io.luan" |
4 | 4 |
5 Io.stdout.write( LuanCompiler.toJava( "stdin", Io.stdin.read_text() ) ) | 5 Io.stdout.write( LuanCompiler.toJava( "stdin", Io.stdin.read_text() ) ) |