clever-lang/clever — Issue #112: Annontation support
Author: felipensp
Created: 2012-02-15 14:04:15+00:00
State: open
Labels: Compiler, Performance, TODO

I think would be nicer to have annontation to specify attributes to be used in the compiler for optimization purpose.

e.g.
```
@ pure
Int sum(Int x, Int y) {
return x + y;
}
```

Based on the annontation information, we could to use the memoization optimization for such *pure* functions.

The syntax might be discussed on the mailing list if necessary.