Hello World in LITTLE

STDIN, STDOUT and STDERR are accessible via features of little.io.TextOutputStream. This class has methods in, out and err, which return instances of TextOutputStream connected with these streams.


   (package test)

   (using
        little.io.TextOutputStream
        little.lang.System)

   (class Hello ()
        (method main () :static
             ((TextOutputStream:out):println "Hello World!"))

   )