TESTLANG
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.
TESTLANG is an esolang created by User:Ractangle with one purpose. Testing stuff
Syntax
Words
| Word | Action |
|---|---|
| out | Prints a word next to it |
| note | Will ignore a word next to it |
| push | Pushes a value to the stack |
| op | Does an operation |
| end | Ends the program |
Sub-words
| Sub-word | Action | Used by |
|---|---|---|
| in | Pushes the input to the stack | push |
| char | Prints a charecter | out |
| stack | Prints the first element on the stack and pop it | out |
| plus | Adds the two elements together | op |
| neg | Turns the top element into a negative of itself | op |
| div | divides the two elements together | op |
| top | duplicates the top | push |
Examples
Cat program
push in push out end
A+B Problem
push in push in op plus push out end