pc2/sus-compiler
View on GitHubDefault interface should have no name, instead of copying "Constructor convention"
Open
#34 opened on Nov 21, 2024
Language Designenhancementgood first issue
Repository metrics
- Stars
- (126 stars)
- PR merge metrics
- (PR metrics pending)
Description
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 {
/*...*/
}