Skip to content

Welcome!

Eigerlang logo

Eiger (name from Mt. Eiger, Switzerland) is a simple, interpreted,dynamic-typed programming language.


Website: https://eigerproject.github.io

Documentation: https://eigerproject.github.io/docs

Repository: https://github.com/eigerproject/eigercs


Intro

Eiger is a versatile programming language designed to simplify coding. Named after the iconic Swiss mountain, Eiger stands tall with its unique blend of simplicity and power.


Current Features

  • Dynamic Typing: Eiger allows you to write code without worrying about data types. Variables are dynamically typed, enabling you to focus on logic rather than type declarations
  • Interpreted Execution: Eiger is an interpreted language, which means the code is executed line-by-line by the interpreted.
  • Clean Syntax: The syntax of Eiger is designed to be easy and readable. Inspired by the simplicity of languages like Python, it aims to reduce boilerplate code
  • Standard Libraries: Eiger has standard libraries that can be included in your code with one line of code. Standard libraries have commonly used code and can help development

Syntax

~ This is a comment
let message = "Hello, World!"
emitln(message)

func ask(a,b)
    emitln("What is " + a.asString + " + " + b.asString + "?")
    let sum = int(in())
    ret sum ?= (a + b)
end

if ask(9,10) then
    emitln("Correct!")
else
    emitln("Wrong")
end

This is a simple demonstration of the syntax of the Eiger programming language. Check out other pages here for further documentation.