From 342874bf4d3d0bc424526cb361ffbe10d325cb9f Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 30 Nov 2023 17:55:44 +0100 Subject: [PATCH] add Objects to readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f467cf..bec4769 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ Mers is simple. There are only few expressions: - Values (`1`, `"my string"`, ...) - Blocks (`{}`) -- Tuples (`()`) +- Tuples (`()`) and Objects (`{}`) - Assignments (`=`) - Variable initializations (`:=`) - Variables (`my_var`, `&my_var`) - If statements (`if [else ]`) - Functions (`arg -> `) -- Function calls `arg.function` +- Function calls `arg.function` or `arg1.function(arg2, arg3)` (= `(arg1, arg2, arg3).function`) Everything else is implemented as a function.