local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local function form() %>

Hello

What is your name?
<% end local function hello(name) %>

Hello

Hi <%= name %>!

<% end return function() Io.stdout = Http.response.text_writer() local name = Http.request.parameters.name if name == nil then form() else hello(name) end end