http://gavingrover.blogspot.com/2009/05/groovys-groovier-roadmap.html
그루비를 MS-DLR(Dynamic Language Runtime)에 구현하는 프로젝트다 있었다. 이쪽에 올라온 글을 보니.. 그루비의 키워드에 별칭을 쓸 수있게 한것 같다. (사실, 제목과는 달리, 저 포스트에서 언급한건 한글이아니고.. 중국글이었다..)
Name aliasing
Name aliasing is what got me interested in writing an alternative lexer/parser for the GrAST (Groovy AST) in the first place. I've long wanted to use Chinese characters as aliases for the English names and keywords in programs, to make the code shorter. I don't want to write this:
content.tokenize().groupBy{ it }.
collect{ ['key':it.key, 'value':it.value.size()] }.
findAll{ it.value > 1 }.sort{ it.value }.reverse().
each{ println "${it.key.padLeft( 12 )} : $it.value" }
when I can write this:
物.割().组{它}.集{ ['钥':它.钥, '价':它.价.夵()] }.
都{它.价>1}.分{它.价}.向().每{打"${它.钥.左(12)}: $它.价"}
이런 식이다. 어쩌면 JVM용 그루비에서도 조만간 이 기능을 볼수있지 않을까?