Mama,ILearnedhowto do
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Mama,ILearnedhowto do is a programming langauge where you explain to your mother what you have learned.
Commands
| Header text | Header text |
|---|---|
| Mama. | start of program |
| . | end of line |
| I learned how to do X: Y | Function |
| You make it bigger | inc |
| You make it smaller | dec |
| You say how big it is | output |
| You ask how big it is | Input |
| When it is bigger than 0 you go back to instruction y | if x>0 : goto y |
| You do X | Do function X |
Truth-machine
Mama. You ask how big it is. You say how big it is. When it is bigger than 0 you go back to instruction 3.