Cyclohexane

From Esolang
Jump to navigation Jump to search

Cyclohexane is an esolang based of cycloalkanes (also being kind of an bf deriative). All programs begin with "cyclo". The ammount of commands in the programs first branch will be defined by an alkane name. To fill commands, you must add an part which says 1, 2... list. Programs in this language will run forever because cycloalkanes are rings. The "ol" command will add 1 from the cell, "thiol" subtracts 1 from the cell, "amine" will move the pointer one step forward, "amide" will move the pointer one step backwards, "ester ()" jumps to the line written in the () inside the current scope. "ketone ()" will jump to the position in the brace if the current cell value is 0, "aldehydide ()" will jump if the value isnt 0, "arene _" is an function, you must insert an program inside it and if not skipped the scope falls there and it runs until the pointer hits escape from the function scope (getting to the point where the function starts and gets out),"peroxide" skips the function if the value in pointer is 0, "alkene" skips the function if the value in the pointer isnt 0, "ketone" acts as ".", "nitrile" acts as "," (Is this turing complete?)

Example programs: write them yourself guh