/usr/share/doc/ats-lang-anairiats-examples/examples/INTRO/HelloWorld.dats is in ats-lang-anairiats-examples 0.2.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //
// Author: Hongwei Xi (August 2007)
//
(* ****** ****** *)
//
// How to compile:
// atscc -o HelloWorld HelloWorld.dats
// How to test:
// ./HelloWorld
//
(* ****** ****** *)
implement main () = begin
print ("Hello, world!"); print_newline ()
end // end of [main]
(* ****** ****** *)
(* end of [HelloWorld.dats] *)
|