emiT

From Esolang
Jump to navigation Jump to search

emiT - a Time Traveling Programming Language

emiT is a language all about parallel timelines. At any given point you can send a variable back in time, and make it change things about the past, starting a new timeline where the result is different.

You can kill variables, which destroys them permanantly- at least until you send another variable back in time to kill the variable doing the killing. This very quickly leads to a lot of confusion, with a constantly changing source code and the very easy possibility of creating a paradox or a time loop.

Remember, the timeline doesnt reset when you go back, any changes made before will remain until you go back even further to stop them from happening.


Therre are a few unusual keywords for this language, shown here:

Keywords
Keyword Meaning
create x Makes a new variable x
x kills y x 'kills' y, making it unable to affect the scope anymore
time x Defines x as a point in time to jump back to later
x warps y {} x travels back in time to point y, and inserts the actions within the code block
collapse Collapses and destroys the current timeline
x is y Gets property y from variable x


Every variable also has properties, which can be accessed using the 'is' keyword.

Properties
Keyword Meaning
alive Is a variable alive?
dead Is a variable dead?
exists Has this variable ever existed in this timeline?


The language git repo can be found here https://github.com/nimrag-b/emiT-C