We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
CollaborativePL
This user page[1] is created for an User-edited language.
Everyone is allowed to join!
The TCZ (Tiny chat zone) has been moved to the CollaborativePL talk page.
Semantics
The program will automatically stop running at the end. Each program consists of a number of lines (separated by a line break (which follows the platform, for example, for NT Windows, it is \x0D\x0A) or a semicolon).
Data types
The following data types are present in CollaborativePL:
Numbers
There are three numeric types in the language: integers, decimal floating point numbers and complex numbers.
Integers not only can be written in decimal, e.g. 1203, but you can specify the base using Unicode subscript characters (₀₁₂₃₄₅₆₇₈₉), e.g. 3F2A₁₆.
Negative numbers are marked with ¯ before the number.
Floating-point numbers can have an exponential part as well as a decimal part, e.g. 6.02e23(It is equivalent to 6.02×1023, which is 602,000,000,000,000,000,000,000).
Complex numbers are written with an i separating the real and imaginary parts.
There are also the following special constants: π, τ (tau, which is 2 times pi), φ ( = (√5 + 1) / 2 ) ∞ (countable infinity), Ω(Cantor's Absolute Infinity) and ⸮ (NaN).
The special "wildcard value" ⸮⸮ (two NaN symbols) is equal to {x|x∈ℂ} where ℂ means all numbers, either complex or real.
Strings
Strings are written in double quotes, e.g. "Hello, world!" The following escape codes are available:
| Escape code | Character it represents |
|---|---|
\n |
Newline |
\t |
Tab |
\r |
Carriage return |
\0 |
Null character |
\d{19968} |
Any Unicode character but in decimal |
\f{expression} |
Reference to an expression |
\x74 |
Any Unicode character between U+0000 and U+00FF |
\u7429 |
Any Unicode character between U+0000 and U+FFFF |
\u{17429} |
Any Unicode character |
Operators
See CollaborativePL/Operators for the comprehensive list of operators.
Ports
Currently, we support the following ports: ⎕ (standard input and standard output), ⌸ (evaluation input), ⍔ (unbuffered error output), ⌻ (buffered error output), ⍂ (popup output), ⍞[filename] (read/write files).
You can do I/O by assigning to these ports. For example,
⎕ ← ⎕
Interesting tools
There is an available "emotional damage" operator which has 0 operands and makes Steven He give you MAXIMAL EMOTIONAL DAMAGE!
Category
- ↑ Not a user page, and not created by the relevant user.