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.
Entitia
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Entitia by User:Cordership, is an esolang based on entities.
Syntax
- Values: Integers.
- Transforms:
VTtransforms take in 1 entity and produce either another entity or a transform. There are two types:MT, which produces another transform andPS, which produces an entity.PTproduces a property.
Making a semi-entity:
(value, transform)
Making an entity:
entity_name = (entity_value, entity_transform)
Defining a property set:
P(X) = {P1, P2, ...}
where X is an entity and P1, P2 and others are properties. Output:
print(...)
Doing a transform on an entity:
transform_name(thing) = thing
Defining a transform:
def entity.transform(thing):
type = ...
//code
- M = (0, VT), P(M) = {M}
- I = (0, MT). By default, it has a transformation I.I(X) defined as follows:
def I.I(X, P(X)):
type = MT
return X
- N = (1, MT). By default, it has a built-in transformation:
def N.J(X, P(M)):
type = MT
return I.I(X, P(X))
Every entity and semi-entity has a universal property, v.