Post History
Laser, 9 bytes c⌜ps \U# My own language's showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters. ...
Answer
#4: Post edited
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters.- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
- My own language's showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters.
- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
#3: Post edited
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right.- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
- My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters.
- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
#2: Post edited
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
- My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right.
- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
- # [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes
- ```
- c⌜ps
- \U#
- ```
- My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right.
- **Explanation:**
- ```
- c⌜p repeat as long as the current stack (input) isn't empty:
- s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c)
- ⌜
- \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it
- ```
#1: Initial revision
# [Laser](https://github.com/Quintec/LaserLang/blob/master/Laser.java), 9 bytes ``` c⌜ps \U# ``` My own languages showcase time! This is a 2D language with an instruction pointer initially pointing to the right. **Explanation:** ``` c⌜p repeat as long as the current stack (input) isn't empty: s pop from the current stack and push onto the next stack (the instruction pointer then loops back around to the c) ⌜ \U# once the current stack is empty, switch direction, get bounced to the right on the second line, move up a stack, and output it ```