A simple JVM language


  // Type inference 
  var aString = "Hello Gosu!"

  // Lists & Maps literals 
  var strings = { "red",
                  "green",
                  "blue" }

  // Closures 
  strings.where( \ s -> s.length() > 3 ).sort()

  // Full Java Interop
  var f = new File("Tmp.txt")

  // With new features
  f.write(strings.join(", "))
  print( aFile.read() )
      	

Download Learn Play