Mercurial Hosting > luan
view src/luan/modules/http/serve.luan @ 1261:198d6af7330a
rename Luan.to_table to Table.java_to_table_shallow and Luan.to_luan to Table.java_to_table_deep
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 24 Sep 2018 13:09:16 -0600 |
parents | 7f4a12fb7716 |
children | 7fc83fd2a39a |
line wrap: on
line source
local Io = require "luan:Io.luan" local Server = require "luan:http/Server.luan" local Logging = require "luan:logging/Logging.luan" if #{...} ~= 1 then Io.stderr.write "usage: luan luan:http/serve dir\n" return end Logging.init() Server.serve(...)