Coder Social home page Coder Social logo

pine9 / binary-translator Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 55 KB

A console tool that makes conversions between binary, decimal, and Unicode

License: GNU General Public License v3.0

Java 100.00%
console console-application console-tool console-app binary binary-to-decimal binary-to-text decimal-to-binary text-to-binary ascii-to-binary

binary-translator's Introduction

Binary-Translator

This program can take three kinds of input: binary integer values, decimal integer values, and unicode values. Whenever possible, binary output will be padded to take up 8 bits. The program detects and converts one of the inputs into the other two accordingly, for your convenience. However, keep in mind that any input containing only 1s and 0s will be assumed to be in binary unless you specify otherwise. You can override this automatic detection by using the following override commands:

#decimal# input - forces the translator to interpret input as being in the decimal format

#binary# input - forces the translator to interpret input as being in the binary format

#signed# input - forces the translator to interpret input as being in the two's complement signed binary format (if you put in negative decimal input, the binary output will automatically be in signed two's complement for that particular number)

#unicode# input - forces the translator to interpret input as being in the unicode format

#exit# - force exits the program

This was one of my first coding projects that I have decided to continue maintaining as I gain more knowledge and experience. As such, my style and coding strategies have since changed (and this project is regularly in need of overhaul), but I try to keep things relatively consistent. Stay tuned for fixes and changes.

binary-translator's People

Contributors

pine9 avatar

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.