Description #
Elena is a high-level, object-oriented, and dynamically-typed scripting language. It emphasizes message-based programming and supports multi-threading, mixins, closures, and aspect-oriented programming. Elena is designed for flexibility and experimentation in advanced OOP models.
History #
Elena was created by Alex Rakov in 2005. The language has evolved steadily through community contributions and now supports its own virtual machine (ElenaVM). It was designed as a platform for experimenting with object-oriented programming paradigms beyond the classical model.
Hello World Code #
public program()
{
console.printLine("Hello, World!")
}
How to Run #
Option 1: Online
Option 2: Local
- Download and install Elena VM
- Save code in
hello.l
- Compile and run:
elena hello.l
Key Concepts #
- Object-oriented and dynamic typing
- Message-based communication
- Functional constructs (closures, lambdas)
- Multi-threading support
- Virtual machine execution
- Mixins and multiple dispatch
- Reflection and metadata access
- Aspect-oriented programming
- Script and compiled hybrid
- Modern experimentation language
Try It Online #
Fun Facts #
- Elena uses its own virtual machine, making it lightweight and portable.
- It blends ideas from Smalltalk, C#, and functional programming.
- Despite its niche use, Elena has consistent version releases and active documentation.