Menu

The stack

aditsu

Every CJam program uses a stack that can contain any values. The stack is initially empty. Every literal is pushed on the stack. Variables are also pushed on the stack, and executed if they are blocks. Operators can modify the stack, generally by popping the arguments and pushing the results. At the end of the program, the contents of the stack are printed out.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.