Show HN: Tru – An Esoteric Language with Brackets
github.comHi everyone, I wanted to share a language I made that only uses a series of bracket characters. All operations are prefix-free, meaning one can follow another without ambiguity.
The following program prints "Hello, world!"
(0)(10)(33)(100)(108)(114)(111)(119)(32)(44)(111)(108)(108)(101)(72)>><<[<><>><<>><<]>>><<
The following prints 25th Fibonacci number: (1)(25)(1)><>(1)(0)><>(1)>>>>>><<[(0)><>(1)>>>>>><<[>><>(1)><>>><<(0)><>>>><>(1)><><<<>><>>>><>(0)><>>><>(1)>>>>>><<](0)](1)><><><>><>>>><<I think we should not confuse obfuscation with esoteric. To add some more obfuscation use nested round brackets to indicate the numbers, so () = 0, (()) = 1, ((())) = 2, and so on.