A programming language because computers.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
eval.c
eval.h
khash.h
lex.l
parse.y
stmt.c
stmt.h
terp.c
terp.h

README.md

terp

A programming language because computers.

Use:

> is the terp prompt, : is the evaluated value of the statement.

> 3 + 1
: 4
> x = y = 4
: 4
> x
: 4
> if y < 5 then y = 6 end
: 6
> if y == 5 then y = 4 else y = 0 end
: 0
> y
: 0
> if true then 34 else y end
: 34