Hmmm... This was hard to come up with. But I think I have an idea. Comments would be marked by two |s. One at the beginning and one at the end. Here would be a strip of code that explains the basics of this language:
|This is variable declaration|
:x: == {"This is a string variable"}
:x: == {11}
:x: == {tr} |Bool|
|Output|
/"Hello World"/
M/"Is x true? Check here: ---x---"M/ |Modified|
|Input|
:first: == *I"Do you like pancakes?"I*
:pancake_name: == {Bob}
:second: == *IM"Do you? My pancake's name is ---pancake_name---"*IM
|If, else|
:test: == {77}
#I#I ---test--- = 77
/"77 is the number!"/
#IE#IE |Else|
M/"77 is not the number. The number is --test--"M/
|Lists|
(:backpack:) == {["food",,"water",,"other stuff"]}
|Iterating through lists|
M/"The first element is --backpack*0*--"M/
|Loops|
|While|
:second_test: == {0}
!W!W ---second_test--- << 10
/"The test is not 10 yet!"/
:test: == {---test--- ++ 1}
|For|
(:languages:) == {["English",, "Russian",, "German"]}
!F!F :lang: ---languages---
M/"The current language is ---lang---"M/
This language is quite complicated and I'm calling it Double because as you might have noticed everything has to be surrounded by two of the same thing.
What is your wildest programming language idea? This could be fun (silly) ideas or really cool and useful ones.
Go!
Also on le twatter: https://twitter.com/replit/status/1275525512861900800
Hmmm... This was hard to come up with. But I think I have an idea. Comments would be marked by two |s. One at the beginning and one at the end. Here would be a strip of code that explains the basics of this language:
This language is quite complicated and I'm calling it Double because as you might have noticed everything has to be surrounded by two of the same thing.