drawkcaB

From Esolang
Jump to navigation Jump to search
This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.

Concept

drawkcaB (pronounced draw-cab) is a programming language concept by user:Maxsteele2. drawkcaB would, as might be expected, be written backward (excluding comments).

There is a drawkcaB version of every single language ever created. These are differentiated by adding the reversed name of the normal language to the end of drawkcaB. They are basically just a reversed version of the language.

drawkcaB version of Python: drawkcaB nohtyP

C++: drawkcaB ++C

drawkcaB: drawkcaB Backward --this is forward, though

Examples

Hello, World!

drawkcaB 3 nohtyP

)"!dlroW ,olleH"(tnirp

drawkcaB ++C

;"!dlroW ,olleH" << tuoc::dts

Truth-machine

drawkcaB 3 nohtyP

)(tupni = i
:'0' == i fi
    )i(tnirp
:'1' == i file
    :eurT elihw
        )i(tnirp

drawkcaB ++C

;i >> nic::dts
{ )"0" == i(fi
    ;i << tuoc::dts
{ )"1" == i(fi esle }
    { );;(rof
        ;i << tuoc::dts
    }
}

Implementations

user:Ehulinsky created a compiler here: http://anothersitemadewith.weebly.com/drawkcab.html