FUNC

From Esolang
Jump to navigation Jump to search

FUNC is a programming language made by me that uses functions

Stuff

The stuff

Def Func

(a = a) b #b
def id a = a
id b #b

Call Func

(a = a) b #b
id b #b, if you had the id function defined

Ω combinator

def Ω (a = a a) (a = a a)
Ω #max stack size (1024 bytes idk) exceeded

SKI

def I (a = a)
def K (a = (b = a))
def S (a = (b = (c = a (c (b c)))))
def true = K
def false = K I
def not = (B = B false true)
def and = ((b = b) b) ((b = false) b)
true and true #true
not false #true