Cd

From Esolang
Jump to navigation Jump to search

Cd is an esoteric programming language based on changing directories.

Syntax

Every command is based on changing directories in the batch prompt.

Only the characters \, ", and & are allowed. The "cd " command is executed as the host command for every line.

This is the very simple directory map:

\
-&

Nagivation

Cd decides what to execute in Binaryfuck after navigation(seperated by &'s). If the current directory is \, execute 0; Otherwise, execute 1.

Examples

Cat program

"&"&\&"&"&&&\&"&"&\&&"&"&\&"&"&&