Skip to content

Instantly share code, notes, and snippets.

View raclettes's full-sized avatar
🏔️

Jacob MacKenzie-Websdale raclettes

🏔️
View GitHub Profile
@raclettes
raclettes / code.tie
Last active February 22, 2017 17:12
project of tie (using the final stated design) - just a web server app.
include("WebKit")
include("FileKit")
server: object = WebKit::establish("0.0.0.0", ~)
server.request: func = string | context : set |
if(context["path"].ends("/"))
context["path"] += "index.html"
FileKit::read(context["path"])
server.start()