Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 469 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 469 Bytes

Epsilon logo Epsilon logo

Epsilon is a programming language with tree-walking interpreter written in C.

Installing

$ make

Usage

$ epsilon <filename>.e

Examples

-- Factorial
func fact(n: real) -> real {
    return 1 if n <= 1 else n * fact(n-1);
}
-- Fibonacci sum
func fib(n: real) -> real {
    return 1 if n <= 2 else fib(n-1) + fib(n-2);
}