Eiger (name from Mt. Eiger, Switzerland) is a simple interpreted dynamic-typed programming language.
Website | Documentation- Variables
- Control Flow
- Loops
- Functions
- Object Oriented Programming (WIP)
There are no stable releases of the language yet, but you can still build from the source
- Clone this repository
- Open the solution file using Visual Studio
- Build and run
- To run unit tests, use the Test Explorer
- Clone this repository
- Run
dotnet runin/eiger - To run unit tests, run
dotnet testin/eiger.Tests
class Person {
let name
let surname
func new(name, surname) {
this.name = name
this.surname = surname
}
func Introduction() {
emitln("I am " + this.name + " " + surname + "!")
}
func Greet(other) {
emitln(name + " greeted " + other.name + "!")
}
}
let px = Person("Name1", "Surname1")
let py = Person("Name2", "Surname2")
px.Introduction()
py.Introduction()
px.Greet(py)
This is a very simple example showing Eiger's OOP capabilities