Hummingbird is an experimental language inspired by JavaScript, ML, and Swift.

It features a friendly, usable type-system; concise, structured syntax; and currently compiles to JavaScript in Node.js and the browser.

hello_world.hb Try Hummingbird
class Welcome {
  var message: String
  init () {
    this.message = "Hello world!"
  }
  init (message: String) {
    this.message = message
  }
  func sayHello () {
    console.log(this.message)
  }
}
var welcomer = new Welcome()
welcomer.sayHello()