Gulf

From Esolang
Jump to navigation Jump to search

Gulf is yet another code-golfing language, but unlike many existing ones it is not truly stack-based. Gulf makes use of postfix, infix and prefix operators using an annotation system instead of parentheses. An infix expression is denoted by a comma and a postfix expression by a dot. Therefore +.,5+5+ would be +((5+5)+) in a system using parentheses. The author of this programming language is User:Feuermonster which roughly implies that this will be yet another complicated/bloated programming language just like Burlesque.

Examples

gulf) ,:4M{~:p
[[1] [2 1] [3 2 1] [4 3 2 1]]
gulf) ,,5+,3*3*_1
-14

External resources

Source-Code Repository