Mercurial Hosting > luan
view website/src/examples/hi.luan @ 554:18504c41b0be
move debug() to Io and remove Debug module;
Io.print() now doesn't print newline if there is nothing to be printed;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 18 Jun 2015 03:30:18 -0600 |
parents | 7bc63886d4f2 |
children | ca169567ce07 |
line wrap: on
line source
local Io = require "luan:Io" local Http = require "luan:http/Http" return function() Io.stdout = Http.response.text_writer() %> <html> <body> Hello World </body> </html> <% end