Horse64 is a high-level language that
combines readability, clean dynamic
typing, and readiness for large projects.
A more grounded rethinking
of Python.
It's free.
Inspired
by programming languages Python, Lua, and Go.
## @build_options --single-file
import html from core.horse64.org
import json from core.horse64.org
import net.serve from core.horse64.org
func register(ctx, user) {
ctx.reply_content(
"<!DOCTYPE HTML><BODY> User argument was: " +
html.escape(user) + ", extra options: " +
html.escape(json.dump(ctx.options)) +
"</BODY></HTML>"
)
return later
}
func main {
print("Now running a server at port 8080!")
var server = net.serve.http(port=8080)
server.add_dir("www", map_to="/")
server.add_endpoint(register, map_to="/register/*")
server.run() later:
}
import ui from multimedia.horse64.org
Get started now, get the Horse64 Development Kit. Or check out features more...