From 8a1debabe939e358b9a639ce2992cb08eb41edfb Mon Sep 17 00:00:00 2001 From: Daniel M Date: Sat, 29 Jan 2022 21:18:08 +0100 Subject: [PATCH] Update README --- README.md | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6be08cb..ccc2d84 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,38 @@ ## Language features -- [x] Math expressions +- [x] General expressions + - [x] Arithmetic operations + - [x] Addition `X+Y` + - [x] Subtraction `X-Y` + - [x] Multiplication `X*Y` + - [x] Division `X/Y` + - [x] Modulo `X%Y` - [x] Unary operators - [x] Negate `-X` - [x] Parentheses `(X+Y)*Z` - [ ] Logical boolean operators + - [ ] Equal `==` + - [ ] Not equal `!=` + - [ ] Greater than `>` + - [ ] Less than `<` + - [ ] Greater than or equal `>=` + - [ ] Less than or equal `<=` + - [x] Bitwise operators + - [x] Bitwise AND `X&Y` + - [x] Bitwise OR `X|Y` + - [x] Bitwise XOR `X^Y` + - [ ] Bitwise NOT `~X` + - [x] Bitwise left shift `X<>Y` - [ ] Variables - [ ] Declaration - [ ] Assignment -- [ ] While loop `while X { ... }` -- [ ] If else statement `if X { ... } else { ... }` - - [ ] If Statement - - [ ] Else statement +- [ ] Control flow + - [ ] While loop `while X { ... }` + - [ ] If else statement `if X { ... } else { ... }` + - [ ] If Statement + - [ ] Else statement - [ ] Line comments `//` - [ ] Strings - [ ] IO Intrinsics