From 6a0490257bf235d011004bc303306f617ac6ea31 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 20 Nov 2023 15:54:52 +0100 Subject: parser: add support for unary operators --- parser/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'parser/README.md') diff --git a/parser/README.md b/parser/README.md index eb65dcf..118d9aa 100644 --- a/parser/README.md +++ b/parser/README.md @@ -34,7 +34,7 @@ Go language support: - [ ] export to runtime - [ ] builtin calls (new, make, copy, delete, len, cap, ...) - [ ] out of order declarations -- [ ] arbirtrary precision constants +- [x] arbirtrary precision constants - [x] basic types - [ ] complete numeric types - [x] function types @@ -43,6 +43,7 @@ Go language support: - [x] structures - [ ] embedded structures - [ ] recursive structures +- [ ] literal composite objects - [ ] interfaces - [x] arrays, slices - [ ] maps @@ -70,7 +71,7 @@ Go language support: - [x] label statement - [ ] select statement - [x] binary operators -- [ ] unary operators +- [x] unary operators - [x] logical operators && and || - [ ] assign operators - [x] operator precedence rules @@ -78,6 +79,7 @@ Go language support: - [x] call expressions - [x] index expressions - [x] selector expressions +- [ ] slice expressions - [ ] type convertions - [ ] type assertions - [ ] parametric types (generic) -- cgit v1.2.3