You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by danielsun1106 <gi...@git.apache.org> on 2018/01/20 13:02:02 UTC
[GitHub] groovy pull request #654: Support native lambda in static compilation mode
GitHub user danielsun1106 opened a pull request:
https://github.com/apache/groovy/pull/654
Support native lambda in static compilation mode
Current implementation has supported common scenarios[1].
TODO:
* lambda in RHS of variable declaration
* callable lambda
* nested lambda
[1] https://github.com/apache/groovy/blob/native-lambda/src/test/groovy/transform/stc/LambdaTest.groovy
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/groovy native-lambda
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/654.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #654
----
commit d746dd7ff222abad8e61aefd7d5b153bb9c28250
Author: sunlan <su...@...>
Date: 2018-01-11T07:35:02Z
Support very basic native lambda
commit 979cab6075b298f7375c62b2c4eb3c6abea6eeb1
Author: sunlan <su...@...>
Date: 2018-01-11T09:28:11Z
Exclude some Lambda tests temporarily
commit 97649f9d1e3b3a14c68b18891e725d02bd04e6a0
Author: sunlan <su...@...>
Date: 2018-01-12T03:45:15Z
Generate inner class for native lambda
commit b0aaa1ef96c7f56efb4e7b7099fb4d61381f6d53
Author: sunlan <su...@...>
Date: 2018-01-12T09:42:44Z
Refine bytecode generation of native lambda
commit 8096d278f09343b8acd9d68edf521e03b28b4062
Author: sunlan <su...@...>
Date: 2018-01-12T09:57:54Z
Trivial refactoring: extract method
commit 6aeaa1c5a7863af5d2c126a5bdf9da9aff2a8db6
Author: sunlan <su...@...>
Date: 2018-01-12T14:15:11Z
Minor refactoring: cleanup code and refine the check of FunctionInterface
commit 4172bd76428ce2c71a95dbc683323fba7385bda8
Author: sunlan <su...@...>
Date: 2018-01-12T14:46:59Z
Add more tests
commit 083089fc35405379c4a4f27fa1d3123eb396dc67
Author: sunlan <su...@...>
Date: 2018-01-12T16:18:00Z
Minor refactoring
commit 61474c1ee9b6d9d042abc0f138c234fce219216a
Author: sunlan <su...@...>
Date: 2018-01-12T16:33:44Z
Add one more test for script
commit b6ea72dbf2ee4ab63fb1b96569de609679807a34
Author: sunlan <su...@...>
Date: 2018-01-13T23:47:17Z
Minor refactoring to prepare supporting local variables
commit fb8e3d10b9bcce46ebb474657d67036b14c2bffc
Author: sunlan <su...@...>
Date: 2018-01-15T07:35:13Z
Add missing `ALOAD` to fix generating bytecode
commit 8616d8967d847026102de999e50deaae1bdfc444
Author: sunlan <su...@...>
Date: 2018-01-16T03:14:47Z
Fix loading local variables for invokedynamic
commit 0165fb276ef1df048da3cb69b7555710e1ba8801
Author: sunlan <su...@...>
Date: 2018-01-16T03:37:20Z
Refine constructing BSM
commit f70975bb74cd234c1d469ea4510c0da9129e924e
Author: sunlan <su...@...>
Date: 2018-01-16T04:37:33Z
Add more tests
commit b711a68d90d7b7e1f08f71455d18a227da09c6f2
Author: sunlan <su...@...>
Date: 2018-01-16T05:42:00Z
Add more tests
commit 6bf63025ea0478f92ae7075990e90f435cf656fc
Author: sunlan <su...@...>
Date: 2018-01-17T06:45:42Z
Support invoking instance method in lambda
commit fceb84f2bcba17984589d661d466655ad8ad762d
Author: sunlan <su...@...>
Date: 2018-01-17T07:23:36Z
Add more tests
commit 62c835b4e42071fb167934bb87176389d4cd999f
Author: sunlan <su...@...>
Date: 2018-01-17T07:26:28Z
Add more tests
commit 152b94d95d62d6953ef1c61c73c350824bdbc21a
Author: sunlan <su...@...>
Date: 2018-01-17T08:33:55Z
Refine `prependThis` via using `getPlainNodeReference`
commit 7210193eba31d837fe4330adb094afd64c714d84
Author: sunlan <su...@...>
Date: 2018-01-18T01:34:15Z
Create an instance for each lambda
commit 1296d2f936f3db500cae9ef7655ea9b57e17203d
Author: sunlan <su...@...>
Date: 2018-01-18T02:46:47Z
Make Lambda extend Closure
commit 82b08ffa5914b35b8d7494d19860de359f6bd27d
Author: sunlan <su...@...>
Date: 2018-01-18T02:56:52Z
Remove temporary methods
commit cd40603da24d8f10e8889518863e39db31ef9de0
Author: sunlan <su...@...>
Date: 2018-01-18T03:16:49Z
Trivial refactoring: Extract constants
commit 7e3459347bab0057683663291046b90ee8827840
Author: sunlan <su...@...>
Date: 2018-01-18T03:20:45Z
Exclude Java 9 build temporarily
commit 621cd4a4c710fc6da9045e824f904d480705a05b
Author: sunlan <su...@...>
Date: 2018-01-18T10:18:56Z
Fix lambda in constructor
commit f14131ec07bf850979daac804d71f4cffb141e8d
Author: sunlan <su...@...>
Date: 2018-01-19T11:41:44Z
Support updating non-final local variables in lambda
----
---
[GitHub] groovy pull request #654: Support native lambda in static compilation mode
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/groovy/pull/654
---