EK Programming Language

EK is a mixfix dynamic functional strict and impure programming language.

Meaning:

  • Mixfix: Functions and operators are the same thing, and can be defined as prefix, suffix, infix, or you can mix and match. How functions are called is completely customizable.
  • Dynamically typed: Types are not known at compile time and have to be checked at runtime.
  • Functional: The language is based on function composition. Everything is a function.
  • Strict by default: Expressions are evaluated immediately, leading to less confusion around order of operations. Functions can choose to make arguments lazy, which is the case for if and && among others, to support short circuiting.
  • Impure: Functions can have side effects, such as printing, freely.

Hello World

import std

fn main = print "Hello, World!"

Learn more...

GitHub Repository | Slides (French) | Getting Started with EK (Wiki)

◀︎ Browse all tags