A backwards programming language
A backwards programming language. If you can understand this, your a god.
This is not to be intended as a real programming language, but I’m not stopping you for using it. Spread the love. This is for me to learn how a programming language is created. I’ll be writing a lexer, parser, type checking and interpreter. This maybe be integrated into my operating system, DeanOS.
5 := five;
(5)fib;
So u will read the program from bottome to top
(five)print;
5 := five;
{
return n;
} if n < 2
{ // 8 spaces
{ // 4 spaces
{ // 2 spaces
{ // 1 spaces
("two")print;
} if i > 1
} if i > 3
} (0 := int: i, i < 5, i++) for
} ()main