Text lines are cool

From Esolang
Jump to navigation Jump to search

Text lines are cool is an esolang made by Unname4798. Unlike in Lines are cool, the boxes have to be exact.

Boxes

Start and end:

|-----|
|start|
|-----|
|---|
|end|
|---|

Print a string (or a number):

|----------|
|print 2024|
|----------|
|------------------|
|print string: kiwi|
|------------------|

User input:

|-----|
|input|--
|-----|

If/else:

|------------|
|            |--
|if 2024<2106|
|            |--
|------------|

Variables:

|---------|  |---------|
|var acc 0|--|print acc|
|---------|  |---------|
|---------------------|  |----------|
|var name string: John|--|print name|
|---------------------|  |----------|

Functions:

|------------------------|
| var and func x y:      |
|                        |
| |---------|  |-------| |
| |         |--|print 1| |
| |x * y > 0|  |-------| |
| |         |--|print 0| |
| |---------|  |-------| |
|------------------------|