Use curly braces instead of indenting, plus much more sugar added to Python's syntax.
Project description
Brackets is a yet-another, a not just a pre-processor, a language built on top of Python, allowing to use {} instead of indentation in Python, and it allows defining powerful anonymous functions and introduces much more sugar and candy into Python’s syntax and abilities.
Visit Brackets Website for examples and more info or read the docs. Project is hosted on github.
Some examples:
// Use braces in Python! def fib(n) { a, b = 0, 1 while (a < n) { print(a, end=' ') a, b = b, a+b } print() } /* Powerful anonymous functions */ print([def(x) { if(x in [0, 1]) { return x }; while (x < 100) { x = x ** 2 }; return x }(x) for x in range(0, 10)])
Visit Brackets Website for examples and more info or read the docs to know how it should be used.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brackets-0.6.2.tar.gz
(10.2 kB
view details)
File details
Details for the file brackets-0.6.2.tar.gz
.
File metadata
- Download URL: brackets-0.6.2.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24064a071b7edbbb44d2745d13be0b2dcbcc0315d45cde4a42d3965a94f11a02 |
|
MD5 | 5483738552fd071c348e7f0b48520a1a |
|
BLAKE2b-256 | 29ba7dd94048acf92a9aaed1ce019ce36b0a565f6bb706ba00f0360fb2564150 |