Basically helps to transform this source code:
to php code:
and that's it.
Adds some sugar for convenience, while it leaves, within possible, the php code intact.
- Break long-lines and params
- Hard strings for Heredoc/Newdoc
- Smart CONSTANT definitions
- Destructuring assignment
- Weak-scope lambdas
- Block comments
- Currently on design and experimental phase, take care
- Implicit return statement, parenthesis and braces where as possible
- Weak symbol-as-string implementation using RegExp
Strongly inspired by Ruby, Python and CoffeeScript due its brevity, readability and expressiveness respectively.