silk is a programming language created in 2019.
git clone https://github.com/AjayMT/silk
#1276on PLDB | 5Years Old |
The Silk Programming Language
// this is a comment
extern func printf(s *i8) void;
func main(argc i32, argv **i8) i32 {
printf("hello, world\n");
if argc > 1 {
val arg = @(argv + 1);
printf(arg);
}
return 0;
}
Feature | Supported | Token | Example |
---|---|---|---|
Print() Debugging | ✓ | printf | |
Comments | ✓ | // A comment |
|
Line Comments | ✓ | // | // A comment |
Semantic Indentation | X |