C40
Jump to navigation
Jump to search
C40 is a language based on C, but each function is at most 40 bytes.
Examples
Hello World
int main(){return!puts("Hello World!");}
a+b
int f(){int x;scanf("%d",&x);return x;} void g(int x){printf("%d",x);} int main(){g(f()+f());return 0;}
Background
They suggest that functions should be small so this is what they'd get