pc2/sus-compiler
在 GitHub 查看Default interface should have no name, instead of copying "Constructor convention"
Open
#34 创建于 2024年11月21日
Language Designenhancementgood first issue
仓库指标
- Star
- (126 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Right now, the default interface has the module name:
module multiply_add {
interface multiply_add: int a, int b, int c -> int o
/*...*/
}
Instead, we should have it be the abscence of a name:
module multiply_add {
interface: int a, int b, int c -> int o
/*...*/
}
Or further still, for purely functional modules:
module multiply_add : int a, int b, int c -> int o {
/*...*/
}