Eberon (original) (raw)
Eberon is Experimental oBERON. It is my attempt to make a programming language in the right way (in my humble opinion of course) taking Wirth's Oberon as a start point.
Eberon basically extends original Oberon (excluding additional restrictions below) so any valid oberon program is also a valid eberon program. A new syntax was introduced for extensions but I tried to maintain the original syntax flavor (e.g. CAPS).
Extensions
- Methods
- Record Constructors
- Strings
- In Place Variables
- Implicit Type Narrowing
- Dynamic Arrays
- Associative Arrays
- FOR..IN loop
- Array initializers
- Array indexOf() method
- Record fields read-only export
- Procedure call result can be denoted
- Operator NEW
- Ternary operator
- Syntax relaxations