CollaborativePL
This user page[1] is created for an User-edited language.
Everyone are allowed to join!
the tiny chat zone
This Chapter should be moved to Talking Page.
can we just edit freely? Esolangist (talk) 15:35, 3 November 2025 (UTC)
so what is this--土豆者也-Potato 11:58, 24 March 2026 (UTC)
Semantics
The program will automatically stop running to 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 ) ∞ 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 |
\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 |
Category
- ↑ Not a user page, and not created by the relevant user.