A statically-typed programming language for the web
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
src
test
.gitignore
.npmignore
Makefile
README.md
package.json

README.md

The Bend Programming Language

Bend is a statically-typed programming language for the web. It compiles down to readable JavaScript with no runtime library and easily integrates with other JavaScript code.

An example Bend program:

extern class console {
  static void log(var[] data...)
}
int[] nums = { 1, 2, 3 }
for n in nums {
  console.log('hello', n)
}

Live Demo

The live demo is available at http://evanw.github.com/bend/ and includes many more examples.

Installation

Bend can be installed through npm:

npm install -g bend