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.

Trifack

From Esolang
Jump to navigation Jump to search

trifack also known as (triple functions acts as commands knowledged) is a esolang by User:Shazun bhasfu that has 3 commands:

Commands

start '{'
end '}'
do '?'

do ('?') is the only meaninful command, based on its neighbour it will do an action such as (neighbour | action)

'{' go backwards until {
'}' go foward until }
'?' if did ? before then reset otherwise reset did and set end and start

states

also trifack supports states, where:

start start = true
end end = true
dont '?' if do == false then invert the table expect do, else reset everything
do '? ' sets do true (only if do == true)

you can see the code for better explanation

example programs

infinite loop: { ?{