konoha-project/KonohaCoffee — pull request #36 by tetsurom (2013-07-15 21:12:21+00:00)
Title: MiniKonohaGrammar fix

Now forrowing code works.
```
MiniKonohaGrammar MiniKonohaGrammar = new MiniKonohaGrammar();
Konoha KonohaContext = new Konoha(MiniKonohaGrammar, LeafJSCodeGen.class.getName());
KonohaContext.Eval(
"int fibo(int n) {\n" +
" if(n < 3){ return 1; }\n" +
" else{ return fibo(n-1)+fibo(n-2); }\n" +
"}", 1000);
```
result in:
```
var fibo = function(n) {
if(n < 3) {
return 1;
} else {
return fibo(n - 1) + fibo(n - 2);
};
};
```