Parenthetic
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
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:
((()()())(()(()()))((()(()))((())()()()()()()())((()()(()))((())()()()()()()()()()) ((())()()()()()()()()()()))))((()()())(()(()()()))((()(())(())())((())()()()()()()( )()()()()()()()()()()()()()()()()()()()()()()()()())))((()(()))((()(())(())())((()( ()))(()(()()))((())()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()() )))((()(())(())())((()(()))(()(()()))((())()()()()()()()()()()())))((()(())(())())( (()(()))(()(()()))((())()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))( (())()()()()()()()()()()()()()())))(()(()()()))((()(())(())())((()(()))(()(()()))(( ())()()()()()()()()()()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()()) )((())()()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()( )()()()()()()()()()()()()())))((()(())(())())((()(()))(()(()()))((())()()()()()()() ()()()())))((()(())(())())((()(()))(()(()()))((())()()()))))