Mercurial Hosting > luan
comparison website/src/examples/hi.luan @ 388:12ee9a336b95
add more examples
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 23 Apr 2015 18:54:35 -0600 |
parents | 8557581740db |
children | 2b9bc97f0439 |
comparison
equal
deleted
inserted
replaced
387:23d075ce1e48 | 388:12ee9a336b95 |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io" |
2 local Http = require "luan:web/Http" | 2 local Http = require "luan:web/Http" |
3 | |
3 | 4 |
4 function service() | 5 function service() |
5 Io.stdout = Http.response.text_writer() | 6 Io.stdout = Http.response.text_writer() |
6 %> | 7 %> |
7 <html> | 8 <html> |