|
1188a769ce
|
node: fix panic in explode/implode parameter reordering
|
2020-04-11 13:11:07 +12:00 |
|
|
b2ef112f50
|
node: implement shorthand assignment operators, callable rvalues
|
2020-04-11 12:51:09 +12:00 |
|
|
86266ae676
|
gotype: initial commit of Go type abstraction
|
2020-04-11 12:49:08 +12:00 |
|
|
71a4efbbda
|
node: elide some more parens in assignment expressions
|
2020-04-11 12:47:37 +12:00 |
|
|
5105293ce6
|
node: basic support for *expr.Closure
|
2020-04-11 12:46:28 +12:00 |
|
|
6b8d4d879a
|
node: handle trailing commas in array literals
|
2020-04-11 12:45:26 +12:00 |
|
|
48f3014429
|
node: add more diagnostics for mixed array/map literals
|
2020-04-11 12:45:05 +12:00 |
|
|
d3d3d34116
|
node: emit static ::class as class name string literal
|
2020-04-11 12:44:37 +12:00 |
|
|
3fba39b562
|
doc: update current README status
|
2020-04-10 20:10:09 +12:00 |
|
|
7461bfe187
|
node: convert use of strlen/cound/sizeof/explode/implode
|
2020-04-10 20:08:40 +12:00 |
|
|
92abcfe5b9
|
node: implement *expr.Ternary (a hoisting pass would be better)
|
2020-04-10 20:08:15 +12:00 |
|
|
ce3cd1065d
|
node: implement *expr.BooleanNot
|
2020-04-10 20:07:57 +12:00 |
|
|
199654f552
|
node: make sure transferred comments do not comment out legitimate source lines(!)
|
2020-04-10 20:07:45 +12:00 |
|
|
475ddeb13c
|
create an exhaustive switch interface for node.Node
|
2020-04-10 18:23:42 +12:00 |
|
|
df2fc21324
|
implement walkMutate(*node); completely transform AltIf->If
|
2020-04-10 17:37:59 +12:00 |
|
|
6d9aa8b022
|
add normalisation pass (WIP)
|
2020-04-10 17:20:54 +12:00 |
|
|
94fe16f681
|
miniwalker: add interface assertion (noop)
|
2020-04-10 16:30:03 +12:00 |
|
|
8986937340
|
node/error: handle the case where no position is available for inner node
|
2020-04-10 16:20:38 +12:00 |
|
|
75b13e0842
|
test: add if/else fixture including AltIf
|
2020-04-10 11:23:47 +12:00 |
|
|
f1b7f301cc
|
stmt/if: collapse else if from else(if( into elseif(
|
2020-04-10 11:23:37 +12:00 |
|
|
72b8da5e4a
|
stmt/if: fix generated else on newline causing parse error
|
2020-04-10 11:23:08 +12:00 |
|
|
e82a4bb1c4
|
doc: update README status
|
2020-04-09 19:55:03 +12:00 |
|
|
f86631880b
|
doc: update README status
|
2020-04-09 19:40:36 +12:00 |
|
|
91e39e7e2f
|
node: elide some extra parentheses for commutative binary ops (plus/concat)
|
2020-04-09 19:40:18 +12:00 |
|
|
314d65a459
|
node: support magic __FILE__, __LINE__ etc constants
|
2020-04-09 19:39:23 +12:00 |
|
|
0dfabadcf2
|
node: remove outdated FIXME comment
|
2020-04-09 19:39:06 +12:00 |
|
|
e3295e1368
|
test: add fixture for global scalars
|
2020-04-08 20:34:00 +12:00 |
|
|
4f86ec11e7
|
node: transform null->nil; normalise case for true/false
|
2020-04-08 20:33:53 +12:00 |
|
|
fc41691e4a
|
node: rename ret variable
|
2020-04-08 20:33:37 +12:00 |
|
|
2a9d079216
|
doc: update current README status
|
2020-04-08 20:26:08 +12:00 |
|
|
c580f8a8e1
|
node: remove unlikely check for rvalue super() calls
|
2020-04-08 20:24:59 +12:00 |
|
|
750bfd9bb2
|
node: support define()
|
2020-04-08 20:24:44 +12:00 |
|
|
142e26bbfe
|
node: support const and class const
|
2020-04-08 20:24:36 +12:00 |
|
|
9b5b72392f
|
test: add (failing) test for different types of const define
|
2020-04-08 20:02:45 +12:00 |
|
|
885d100fbf
|
node: implement stmt.ConstList
|
2020-04-08 20:02:30 +12:00 |
|
|
51ca4ecd77
|
node: fix issue with lvalue err ordering
|
2020-04-08 19:58:56 +12:00 |
|
|
760d1ddbbd
|
node: elide parentheses in some cases
|
2020-04-08 19:58:35 +12:00 |
|
|
334db21fd6
|
node: support die()
|
2020-04-08 19:58:09 +12:00 |
|
|
daf5000404
|
node: support namespace, support tracking package imports
|
2020-04-08 19:57:59 +12:00 |
|
|
48c58898ab
|
doc: update README status
|
2020-04-07 23:26:58 +12:00 |
|
|
c52acb7249
|
node/try-catch: group err vars; simplify names; treat Exception as base case
|
2020-04-07 23:26:44 +12:00 |
|
|
e9aa553216
|
stmt: propagate err checks to top-level function calls and assignment calls
|
2020-04-07 23:25:43 +12:00 |
|
|
52ccea5d65
|
node: initial try/catch support, track the error handler (WIP)
|
2020-04-07 22:52:42 +12:00 |
|
|
0d7024dbee
|
node: remove throw "" -> errors.New("") transform, as PHP cannot throw scalars
|
2020-04-07 22:52:12 +12:00 |
|
|
d6cd0e8191
|
node: parse and requote php single-quoted strings
|
2020-04-07 22:51:31 +12:00 |
|
|
70021d7e6d
|
doc: update extra README status
|
2020-04-07 21:53:15 +12:00 |
|
|
642711b09f
|
node: add some TODO markers
|
2020-04-07 21:53:07 +12:00 |
|
|
19d7cc469a
|
node: support interfaces
|
2020-04-07 21:53:00 +12:00 |
|
|
8752e8349c
|
test: disable (XFAIL) the interface-assertion test case
|
2020-04-07 21:52:19 +12:00 |
|
|
d1874b288e
|
node: cleanup imports
|
2020-04-07 18:52:40 +12:00 |
|