From 09216aa45da6bd23229e8b5aa2d160fd828171ed Mon Sep 17 00:00:00 2001 From: Andrew Segavac Date: Tue, 5 Nov 2019 21:35:44 -0700 Subject: [PATCH] updated readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b269f84..b6d1880 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Boring Lang +**NOTE: This repo is a work in progress as I learn compiler writing, I may abandon this.** + The Boring Programming Language (Boring-Lang) is an attempt to create an easy, productive, general purpose programming language that makes as few interesting choices as possible while still being in line with modern concepts in programming languages. The language: @@ -34,7 +36,7 @@ async func handle(req http.Request, resp http.Response) { async func main(args: Array) int { router := http.Router("").add_route("/myroute", handle) - http_server := http.Server("localhost", 8080) + http_server := http.Server("localhost", 8080, router) err := await http_server.server_forever() await log.info("error serving: ", err) return 1