You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/02/02 14:28:03 UTC

groovy git commit: tweak wording

Repository: groovy
Updated Branches:
  refs/heads/master b68d29786 -> f86bf659a


tweak wording


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/f86bf659
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/f86bf659
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/f86bf659

Branch: refs/heads/master
Commit: f86bf659a1febc4974eace7d554ee3df5d8e1b47
Parents: b68d297
Author: paulk <pa...@asert.com.au>
Authored: Sat Feb 3 00:27:50 2018 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Sat Feb 3 00:27:50 2018 +1000

----------------------------------------------------------------------
 subprojects/parser-antlr4/README.adoc | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/f86bf659/subprojects/parser-antlr4/README.adoc
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/README.adoc b/subprojects/parser-antlr4/README.adoc
index 30adad8..7aa0ade 100644
--- a/subprojects/parser-antlr4/README.adoc
+++ b/subprojects/parser-antlr4/README.adoc
@@ -23,17 +23,17 @@
 
 The new parser(Parrot) can parse Groovy source code and construct the related AST, which is almost identical to the one generated by the old parser(except the corrected node position, e.g. line, column of node). Currently all features of Groovy are available. In addition, **the following new features have been added:**
 
-* do-while loop, standard loop(e.g. `for(int i = 0, j = 10; i < j; i++, j--) {..}`)
-* lambda expression(e.g. `stream.map(e -> e + 1)`)
-* method reference and constructor reference
-* try-with-resources(i.e. ARM)
-* code block(i.e. `{..}`)
-* array initializer of Java style(e.g. `new int[] {1, 2, 3}`)
-* default method of interface
-* type annotation
+* do-while loops; enhanced (now supporting commas) classic for loops, e.g. `for(int i = 0, j = 10; i < j; i++, j--) {..}`)
+* lambda expressions, e.g. `stream.map(e -> e + 1)`
+* method references and constructor references
+* try-with-resources, AKA ARM
+* code blocks, i.e. `{..}`
+* Java style array initializers, e.g. `new int[] {1, 2, 3}`
+* default methods within interfaces
+* additional places for type annotations
 * new operators: identity operators(`===`, `!==`), elvis assignment(`?=`), `!in`, `!instanceof`
-* safe index(e.g. `nullableVar?[1, 2]`)
-* runtime groovydoc(i.e. groovydoc with `@Groovydoc`), groovydoc attached to AST node as metadata
+* safe index, e.g. `nullableVar?[1, 2]`
+* runtime groovydoc, i.e. groovydoc with `@Groovydoc`; groovydoc attached to AST node as metadata
 
 === How to enable the new parser