From Esolang
Jump to navigation Jump to search

Bin-snake is a Python wrapper, in Binary. Bin-snake converts a Bin-snake file (.bs) to Python code, and then executes it to Python.

Writing Bin-snake

With an understanding of binary and binary/ascii conversions, as well as an understanding of Python, writing Bin-snake is quite simple. Just convert every character in a Python program to its Binary representation.

Bin-snake Files

A Bin-snake file (.bs) can be comprised of any characters, although only 1s and 0s will be recognized. Any other characters will be treated as comments.

Running Bin-snake

Running Bin-snake is quite simple. A(n) compiler/interpreter can be found on Have fun!


Hello, world!