Hey look! It's a pragmatic language for the JVM...


    var aString = "Hello Gosu!" // Type inference keeps things clean

    // Simple literal syntax for Lists & Maps
    var strings = { "red", "green", "blue" }

    // Closures make data structures fun
    print( strings.where( \ s -> s.length() > 3 ).sort() )

    // You can use familiar Java classes
    var aFile = java.io.File.createTempFile("temp","txt");

    // And they've been enhanced for your pleasure
    aFile.write( strings.join( ", " ) )
    print( aFile.read() )
      	

Download Learn Play