comparison website/src/examples/hi.luan @ 382:8557581740db

added tutorial
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 22 Apr 2015 20:38:48 -0600
parents
children 12ee9a336b95
comparison
equal deleted inserted replaced
381:83efd1e3685c 382:8557581740db
1 local Io = require "luan:Io"
2 local Http = require "luan:web/Http"
3
4 function service()
5 Io.stdout = Http.response.text_writer()
6 %>
7 <html>
8 <body>
9 Hello World
10 </body>
11 </html>
12 <%
13 end