doc: update extra README status
This commit is contained in:
parent
642711b09f
commit
70021d7e6d
@ -30,9 +30,13 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv
|
||||
[ ] Numbered break/continue
|
||||
[ ] Goto
|
||||
[ ] Comma operator
|
||||
[ ] `null` -> `nil`
|
||||
[ ] Consts and `define()`
|
||||
[ ] `isset`/`unset`
|
||||
[ ] `instanceof`
|
||||
[ ] `try`/`catch`/`finally`
|
||||
- Intend to implement using err checks, not panic/recover
|
||||
- Any statements within the try block should capture the finally/catch to run within any interior err-check blocks
|
||||
[ ] Abandon upon sight of `eval` / `extract` / ...
|
||||
[ ] Assignment expressions
|
||||
- Go doesn't support assignment in rvalues, only as a statement
|
||||
@ -41,13 +45,12 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv
|
||||
- [ ] Add hoisting pass
|
||||
[ ] Closures
|
||||
- [ ] Handle value/reference captures
|
||||
[ ] Sort callbacks
|
||||
- [ ] Transparent conversion to sort.Slice
|
||||
[X] Convert top-level calls to `init()`/`main()`
|
||||
- *Currently always `init`*
|
||||
[ ] Class/object transformations
|
||||
- [X] Convert `new X` constructor calls to `NewX`
|
||||
- [X] Visibility
|
||||
- [X] Apply PHP visibility modifiers as Go case change
|
||||
- [ ] Call mangled function name at call sites
|
||||
- *PHP variable names are case-sensitive, function names are case-insensitive*
|
||||
- [X] Static methods
|
||||
@ -69,6 +72,7 @@ The goal is to produce idiomatic, maintainable Go code as part of a one-off conv
|
||||
- [ ] Standard library transformations
|
||||
- [ ] Track golang package imports
|
||||
- [ ] Handle conflicts between golang stdlib packages / local variable names
|
||||
- [ ] uasort -> sort.Slice
|
||||
- [ ] PHP Superglobal transformations
|
||||
- [ ] `$_SERVER['argv']` to os.Args
|
||||
- [ ] `$_GET['name']` to r.FormValue('name')
|
||||
|
Loading…
Reference in New Issue
Block a user