Skip to content

Instantly share code, notes, and snippets.

@nbqx
Forked from tyama/pyuta.groovy
Created October 15, 2010 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nbqx/628402 to your computer and use it in GitHub Desktop.
Save nbqx/628402 to your computer and use it in GitHub Desktop.
/*
original "Translation IF/ELSE´s to Portuguese"
http://groovyconsole.appspot.com/script/278001
Translation IF/ELSE´s to Japanese
*/
/* The Experiment For Symbolized Program Language with Groovy */
・ = { exp, c ->
if (exp){
c()}
return { c2 ->
if (!exp){
c2()}}
}
・・ = { c -> c }
・・・ = { println it }
・(10>20){・・・ 'そうだね'}・・{・・・ 'その他'}
・(10<20){・・・ 'そうだね'}・・ {・・・ 'その他'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment