renard

A simple programming language with first-class functions.

View on GitHub

alt text

Simple programming language with first class functions.

Readme

Roadmap

Intro

// Bindings
let a = 10;
let b = 20;
let c = a + b;

// Strings
let create_greeting = fn(str, str') { str + str' };
let greeting = create_greeting("Hello, ", "Raventid");

// Higher order functions
let build_adder = fn(val) { fun(arg) { arg + val } };
let add2 = build_adder(2);