compiler

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.deepztream.com/compiler
Log | Files | Refs

example.7 (165B)


      1 strlen(s) {
      2   decl i = 0;
      3   while (s[i] & 255)
      4     i = i + 1;
      5   return i;
      6 }
      7 
      8 print(s) {
      9   write(strlen(s), s);
     10 }
     11 
     12 _start() {
     13   print("Hello There!\n");
     14   exit(0);
     15 }