https://github.com/evanw/bend
A statically-typed programming language for the web
https://github.com/evanw/bend
Last synced: 2 months ago
JSON representation
A statically-typed programming language for the web
- Host: GitHub
- URL: https://github.com/evanw/bend
- Owner: evanw
- Created: 2012-08-03T07:25:07.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-19T19:21:02.000Z (almost 13 years ago)
- Last Synced: 2025-04-11T00:12:46.064Z (2 months ago)
- Language: JavaScript
- Size: 343 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/](http://evanw.github.com/bend/) and includes many more examples.
# Installation
Bend can be installed through [npm](https://npmjs.org/):
npm install -g bend