Mercurial Hosting > luan
comparison website/src/examples/hi.luan @ 736:2113294ccc6d 0.20
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 24 Jun 2016 14:38:56 -0400 |
parents | ca169567ce07 |
children | 49cf706c326a |
comparison
equal
deleted
inserted
replaced
735:2486fa6490c6 | 736:2113294ccc6d |
---|---|
2 local Http = require "luan:http/Http.luan" | 2 local Http = require "luan:http/Http.luan" |
3 | 3 |
4 | 4 |
5 return function() | 5 return function() |
6 Io.stdout = Http.response.text_writer() | 6 Io.stdout = Http.response.text_writer() |
7 %> | 7 %> |
8 <html> | 8 <html> |
9 <body> | 9 <body> |
10 Hello World | 10 Hello World |
11 </body> | 11 </body> |
12 </html> | 12 </html> |
13 <% | 13 <% |
14 end | 14 end |