4dB
Jump to navigation
Jump to search
4db is An Esoteric programming language created By User:Buckets in 2022, It is not Shorthand for '4 decibels', But An acronym For '4-dimensional Beads'.
| Commands | Instructions |
|---|---|
| g | Add A bead, When making Another bead, The Bead Selector Will not move to that other Bead That Has been constructed Further In time for the Executing of the Code in the current Time. |
| h | Move the Selector for the Beads To A bead Created Further In time Than The earlier bead that Was Created earlier, Even before It Was even created. |
| j | The bead is Gone. |
| k | Move the current Bead Forwards in time By n Command executions and That n variable Is based on the next character And if The Next Character Does Not exist yet Or Not been Assigned a Value, Then It will Move it 10 Command executions, If It Doesn't get Assigned/created or created/Assigned Within The Entire Code, Then It Will Move It 10 Command Executions Backwards. |
| l | Make The Next Character A new Variable And ruin It Forever, If This is used on a Previously Created Variable, set it to 0, Except if that Variable Is already 0, Then It Will set it to 5. |
| a | Make The Next Character, one more Than It already Was Except If It doesn't exist Yet, Then '1 to The Future variable when It will be/was Created in the future, But After It will be assigned, At b, it Will -1 Then to the Variables, but If it Will Never Get Assigned, Then it will Skip the Next commands until b. |
| b | Noop. |
| s | Move the current Bead right by One. |
| d | Move the current bead left by One. |
| ! | Set the Next Character The input Value, except if it doesn't Exist yet, then It Will be set One before b, after it Was Assigned But If it isn't Assigned Yet But does exist, set it To the Input. |
| > | Move in The same time direction. |
| ^ | Move the Selector for the Beads To A bead Created Earlier In time Than Future beads that Will Be created in The future. |
| < | Reverse The Time Direction. |
| @ | Make the bead Value Be the Next character's value If it Was a variable, If not, That Value will be set to 0. |
If two Beads exist At the same place And the same time, Their Values will Be Summed Up, except if one do not have Values, Then That variable that Does have a value Will be Printed in ASCII, if both of Them do not have Values yet, Then One will Be shifted In the Past Direction, Which is the One being collided With, But the one That Is collided With the bead that Eould be collided with, Will be shifted Once in the future Direction.
A+B Program*:
glq!q@hglq!q@dhgs