Giter Site home page Giter Site logo

cthulhu's Introduction

CTHULHU is a system for converting C code into huffman-encoded unary.

Design

C to Huffman Unary Conversion

  1. C --> brainfsck (via http://savannah.nongnu.org/projects/libbf )
  2. brainfsck --> unary (via custom compilation)
  3. unary --> hexadecimal string
  4. The final string is huffman encoded and stored in a binary file.

Runtime interpretation

  1. Huffman decoding
  2. Compilation to brainfsck
  3. brainfsck interpreter

Background

Unary and Brainfsck

Unary is an ultra-minimalist esoteric language consisting of repetitions of a single character. This string represents a series of commands in brainfsck, a tape-based esoteric language consisting of eight pointer commands invented by Urban Müller.

Huffman Encoding

Huffman encoding is an entropy encoding algorithm based on a code table.

Implementation

CTHULHU will be implemented in C, adhering to the ISO/IEC 9899:1999 standard.

Documentation

CTHULHU is documented using the Doxygen system, in both hyperlinked HTML and Latex PDF formats.

License

CTHULHU is developed under the GNU General Public License.

GPL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.