Okayako

From Esolang
Jump to navigation Jump to search

OkayakO is object-oriented language by User:ChuckEsoteric08. It is Schwa, but more useful

Commands

Command State 1 State 2
@ Switch state Switch state
! Set accumulator to 0 Increment accumulator
# Change state to state 2 decrement accumulator
` Execute object secified by accumulator Change state to state 1
" Output accumulator Output accumulator

Making object looks like this:

<obeject number>:
<your code><next object that will be executed>

Examples

0:
@!"@`
1:
@!"@`
2:
@!"`
3:
@!"
Output:
1234