doc: update progress in README

This commit is contained in:
mappu 2020-04-05 19:26:49 +12:00
parent c6f70b1e66
commit 8533e72047

View File

@ -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