Delta
Jump to navigation
Jump to search
Delta is an esolang made by TJC games that is meant to be a valid language.
I don't have a runtime yet because I don't know how to make one in Java and I don't know anything from the C branch.
I literally only have my thoughts.
Data structure
Primitivity | |||||
---|---|---|---|---|---|
Level 0 | Any (Just any type) | Type (A specific type) | |||
Level 1 | Bit (1 bit) | Array (A list of values) | Code (Some code in Delta) | ||
Level 2 | Byte (8 bits) | Dict (2 tables and a lot of functions) | 2DArray (A 2D array) | ||
Level 3 | DWord (2 bytes) | QWord (4 bytes) | OWord (8 bytes) | XWord (16 bytes) | |
Level 4 | Float (Decimal number) | Int (Integer) | ASCII (ASCII char) | Uni (Unicode char) | Colour (A colour) |
Level 5 | String (A table of Unicode characters) | Point2 (2D point) | Point3 (3D point) | Image (A 2D array of colours) | TriNum (<latex>(a+bi+c\epsilon)</latex>) |
Level 6+ | Triangle (3 points) | Polygon (Lots of triangles) | Polyhedron (Lots of Polygons) |
Gimmick
The main gimmick of Delta is that no variable can begin with the letter D. This might be a weird restriction, but this is because, if you try to do so, it will affect the change in the variable. This updates on the call of Delta()
.
This also means that trying to get a variable beginning with d will get the change in the variable between the last two calls of Delta()
.
A QoL change I will also make is that, if a line contains one variable, the output of the line is assigned to that variable.