Syntactically streamlined dialect of Objective-C using Clang/LLVM
The Eero programming language features a streamlined syntax with reduced code clutter and improved readability.
Eero also has new features such as Python indentation and limited forms of operator overloading and namespaces.
Eero is inspired by languages such as Smalltalk, Python, and Ruby.
- Primary syntactic changes from Objective-C:
- Terminating semicolons are optional
- Python-like indentation rules instead of curly braces
- Parentheses around conditional constructs are optional
- Outermost brackets for method invocations are optional
- NSString literals use single-quotes instead of @""
- Simpler method declarations and definitions
- Objects are always pointers (no asterisk after type-name needed for object variables)
- Simpler message passing syntax
- Other changes:
- No fall-through in switch cases
- Comma-separated switch case lists
- Switch case ranges (using an ellipsis)
- C++ keyword logical operators and, or, not, etc.
- Blocks (closures) support
- The goto statement is illegal
- No @ needed for private, protected, and public qualifiers in class interfaces
- New features:
- Implicit ‘NS’ prefix around type names
- Terminating nil automatically inserted for method calls with variadic arguments
- Operator overloading
- A new operator for object instantiation: “:=”
In a hurry? Add it to your Download Basket!
What's New in version 20110710 Pre-Beta
- Changes to variadic method calls and unnamed selectors