view website/src/examples/hi.luan @ 720:bdd766df1c17

add json parser
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 30 May 2016 21:27:17 -0600
parents ca169567ce07
children 2113294ccc6d
line wrap: on
line source

local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"


return function()
	Io.stdout = Http.response.text_writer()
	%>
	<html>
		<body>
			Hello World
		</body>
	</html>
	<%
end