zettacode.files/hello_world.text/terra.txt in zettacode-0.1.0 vs zettacode.files/hello_world.text/terra.txt in zettacode-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
-C = b.cudc("do.")
+C = terralib.includec("stdio.h")
- (c : , : )
- C.f("H !\")
- u 0
-
+terra hello(argc : int, argv : &rawstring)
+ C.printf("Hello world!\n")
+ return 0
+end