Specialize directive requires parameter names
|Created on||Oct 07, 2011 19:41|
Currently, the specialization directives need both a return type and parameter names in addition to types. In particular, the latter is counter-intuitive for C programmers. This should be easy to fix in the parser. The return type(s) could be made optional as they are not relevant in the specialisation. Likewise, the names of parameters. We should also consider to make the specialisation directive a proper pragma: #pragma specialize blaBlub( int[10,10], float) instead of the current syntax. Both SAC and C provide pragmas for exactly this kind of purpose. All these proposals are not particularly urgent, but would be a few mosaic stones in making SAC more customer-friendly and, with respect to the pragma, a bit more consistent.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information