XUS

From Esolang
Jump to navigation Jump to search

XUS is a set esolang made by User:Yayimhere to modify some sets

data

data is stored in sets. a set CAN have copies inside in XUS. a set can be stored as a variable like this:

= A {}

this will set A to the set {}. this set cannot contain anything else than other sets. when a operation is used on a set the set updates to the new set

operators

there are 3 operators:

  • X will take the following set and add the empty set to it
  • U add whats the current set it set to into the following set
  • S add the empty set into the most nested part of the set and delete the least nested object

to loop if the current set is not the empty set like this:

()

there is a single extension:

  • Y print the following set

examples

looping counter. using {} instead of *:

= counter {}
X Counter
(X Counter Y Counter)