Parenthetic

From Esolang
Jump to navigation Jump to search

The Parenthetic programming language is a functional programming language that (like Parenthesis Hell) uses only parentheses in its code. All other characters are considered comments.

The language works by interpreting certain parenthesis sequences as symbols (for example, the sequence (()) corresponds to the add function). Currently, Parenthetic supports the following commands: define, lambda, if, not, <=, equal, + - * /, cons, car, cdr, and conversions between lists and strings.

Examples

Hello World:

((()()())(()(()()))((()(()))((())()()()()()()())((()()(()))((())()()()()()()()()())
((())()()()()()()()()()()))))((()()())(()(()()()))((()(())(())())((())()()()()()()(
)()()()()()()()()()()()()()()()()()()()()()()()()())))((()(()))((()(())(())())((()(
()))(()(()()))((())()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()()
)))((()(())(())())((()(()))(()(()()))((())()()()()()()()()()()())))((()(())(())())(
(()(()))(()(()()))((())()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))(
(())()()()()()()()()()()()()()())))(()(()()()))((()(())(())())((()(()))(()(()()))((
())()()()()()()()()()()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()())
)((())()()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()(
)()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()()()()()
()()()())))((()(())(())())((()(()))(()(()()))((())()()()))))

External resources

Official Parenthetic page on Github