From 2e85a60d22fb8ba3ba9fbbf2588ad8e22d3381ff Mon Sep 17 00:00:00 2001 From: Shautvast Date: Fri, 7 Nov 2025 10:44:24 +0100 Subject: [PATCH] another thing I added --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1a05ab..79b303f 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,6 @@ And I cherry picked things I like, mostly from rust and python. - date ## open questions -- how to model http headers - pluggability for middleware?, implement later? - JWT tokens, I guess @@ -82,6 +81,13 @@ And I cherry picked things I like, mostly from rust and python. * indenting like python (for now just 1 level, but both tabs or double spaces) * strict typing like in rust (no implicit numeric conversions) * basic set of operators, including logical and/or and bitwise operations +* automatic injection of uri, query parameters and headers + * if you declare them they will be available in the function body + * example: +```html +fn get(path: string, headers: map, query: map) -> string: + "hello" + path +``` * includes a rudimentary REPL * ```cargo run -- --repl```) * list functions and functions that serve endpoints