spl

systems programming language
git clone http://frotz.net/git/spl.git
Log | Files | Refs | README | LICENSE

echo.spl (110B)


      1 
      2 fn start() i32 {
      3 	while 1 {
      4 		var ch i32 = readc(0);
      5 		if ch < 0 { break; }
      6 		writec(1, ch);
      7 	}
      8 	return 0;
      9 }