From 8533e72047182338ee970c723d72d646c4367736 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 5 Apr 2020 19:26:49 +1200 Subject: [PATCH] doc: update progress in README --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f687a63..2cc48d7 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv - [ ] Non-leaf function calls need to check + bubble errors - [ ] Behaviour of function calls in rvalue cases where err cannot be checked [ ] Comprehensive coverage of all AST node types + - [ ] Node + - [ ] Stmt - [ ] Expr - [X] Binary - [ ] Scalar - - [ ] ... - - [ ] Convert instanceof for Exception types to Go1.13 `errors.Is` [X] Array handling - [X] Infer whether to use slice/map for PHP array - [ ] Infer whether map use should be order-preserving @@ -29,6 +29,11 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv [ ] Generators [ ] Numbered break/continue [ ] Goto +[ ] Comma operator +[ ] `isset`/`unset` +[ ] `instanceof` +[ ] `try`/`catch`/`finally` +[ ] Abandon upon sight of `eval` / `extract` / ... [ ] Closures - [ ] Handle value/reference captures [ ] Sort callbacks @@ -37,6 +42,9 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv - *Currently always `init`* [ ] Class/object transformations - [X] Convert `new X` constructor calls to `NewX` + - [X] Visibility + - [ ] Call mangled function name at call sites + - *PHP variable names are case-sensitive, function names are case-insensitive* - [X] Static methods - [X] Inheritance *partial* - [ ] Interfaces @@ -64,7 +72,6 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv - [ ] AWS SDK - [ ] PHPUnit -> Go Test - [ ] Replace Composer/PSR-4 autoloading with Go imports - [X] Variadic function parameters [ ] Preserve comments [ ] Preserve rough line spacing