{"id":18715128,"url":"https://github.com/wsdt/almostbinary","last_synced_at":"2025-04-12T13:07:40.635Z","repository":{"id":116962669,"uuid":"262861218","full_name":"wsdt/AlmostBinary","owner":"wsdt","description":"Compiler \u0026 Runtime for 'Almost Binary'. Code in platform-independent binary and utilize high-level data structures and state-of-the-art libraries (e.g. quantum computing, blockchain, ..)","archived":false,"fork":false,"pushed_at":"2023-03-31T09:40:33.000Z","size":30493,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T13:07:09.890Z","etag":null,"topics":["binary","blockchain","compiler","csharp","esolang","esoteric-programming-language","platform-independent","programming-language","qsharp","quantum-computing","runtime"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wsdt.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-05-10T19:34:18.000Z","updated_at":"2025-03-26T08:52:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f568439-a61a-4aa4-9b28-af13b9d710ee","html_url":"https://github.com/wsdt/AlmostBinary","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsdt%2FAlmostBinary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsdt%2FAlmostBinary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsdt%2FAlmostBinary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsdt%2FAlmostBinary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wsdt","download_url":"https://codeload.github.com/wsdt/AlmostBinary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571893,"owners_count":21126522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary","blockchain","compiler","csharp","esolang","esoteric-programming-language","platform-independent","programming-language","qsharp","quantum-computing","runtime"],"created_at":"2024-11-07T13:07:40.202Z","updated_at":"2025-04-12T13:07:40.606Z","avatar_url":"https://github.com/wsdt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Almost Binary [![HitCount](http://hits.dwyl.com/wsdt/AlmostBinary.svg)](http://hits.dwyl.com/wsdt/AlmostBinary) [![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://bitbucket.org/lbesson/ansi-colors) [![GitHub license](https://img.shields.io/github/license/wsdt/AlmostBinary.svg)](https://github.com/wsdt/AlmostBinary/blob/master/LICENSE) [![Generic badge](https://img.shields.io/badge/Made%20with-CSharp-37f)](https://docs.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/) [![Donate](https://img.shields.io/badge/Donate-Pay%20me%20a%20coffee-3cf)](https://github.com/wsdt/Global/wiki/Donation) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7512be0122164bbbb19c5123914fe2a5)](https://app.codacy.com/manual/wsdt/AlmostBinary?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=wsdt/AlmostBinary\u0026utm_campaign=Badge_Grade_Dashboard)\r\nThis compiler \u0026 runtime will be improved continuously. Please be clement, as this is my first time implementing a compiler and runtime.\r\n\r\n**Take a look at the documentation: [Almost Binary - Wiki](https://github.com/wsdt/AlmostBinary/wiki)**\r\n\r\n## Code Once, Run Everywhere. [![Tests within Docker](https://img.shields.io/badge/Tests%20within%20Docker-passing-success)](https://github.com/wsdt/Global/wiki/Donation)\r\nCode in platform-independent Binary. It was never so easy to proof that you are a real geek. \r\n\r\nThis programming language is made for people, who..\r\n- ..always wanted to code in Binary.\r\n- ..love real challenges.\r\n- ..want to bring their programming skills to the next level.\r\n- ..want to run binary-programs on any machine.\r\n\r\n## Example\r\nYou will find some [example files here](https://github.com/wsdt/AlmostBinary/tree/master/examples).\r\nSimple hello-world program: \r\n\r\n```\r\n0000000000000000011010010110110101110000011011110111001001110100\r\n000000000000000001110011011110010111001101110100011001010110110100000000000000000000000000000000000000000000000000000000000000000110011001110101011011100110001101110100011010010110111101101110\r\n0000000000000000000000000000000001001101011000010110100101101110\r\n0000000000000000000000000000000000000000000000000000000000101000\r\n0000000000000000000000000000000000000000000000000000000000101001\r\n000000000000000000000000000000000000000000000000000000000111101100000000000000000000000000000000000000000000000000000000010100000111001001101001011011100111010001001100011010010110111001100101\r\n0000000000000000000000000000000000000000000000000000000000101000\r\n0000000000000000000000000000000000000000000000000000000000100010000000000000000000000000000000000000000001001000011001010110110001101100011011110010000001010111011011110111001001101100011001000000000000000000000000000000000000000000000000000000000000100010\r\n0000000000000000000000000000000000000000000000000000000000101001\r\n00000000000000000000000000000000000000000000000000000000000000000101001001100101011000010110010001001100011010010110111001100101\r\n0000000000000000000000000000000000000000000000000000000000101000\r\n0000000000000000000000000000000000000000000000000000000000101001\r\n0000000000000000000000000000000000000000000000000000000001111101\r\n```\r\nOf course you can remove all tabs and newlines. Removing spaces is only supported in some cases as I didn't want to introduce too much delimiters (e.g. 8 zeros).\r\n***\r\n\r\n## Libraries\r\nThis is an exhaustive list of all implemented AlmostBinary libraries: \r\n\r\n### \u003ca href=\"https://github.com/wsdt/AlmostBinary/blob/master/AlmostBinary_Compiler/Libraries/0000000000000000011100110111100101110011011101000110010101101101.abinl\"\u003esystem\u003c/a\u003e\r\n**Identifier/Name (x64):** \r\n`0000000000000000011100110111100101110011011101000110010101101101`\r\n\r\n**Description:** \r\n_Default functions, e.g. PrintLine, InputString, ..._\r\n\r\n### \u003ca href=\"https://github.com/wsdt/AlmostBinary/blob/master/AlmostBinary_Compiler/Libraries/00000000000000000000000000000000000000000000000001100010011011000110111101100011011010110110001101101000011000010110100101101110.abinl\"\u003eblockchain\u003c/a\u003e\r\n**Identifier/Name (x64):**\r\n`00000000000000000000000000000000000000000000000001100010011011000110111101100011011010110110001101101000011000010110100101101110`\r\n\r\n**Description:** \r\n_Create simple proof-of-work blockchains, create transactions, validate the blockchain and mine abin-Coins._\r\n\r\n### \u003ca href=\"https://github.com/wsdt/AlmostBinary/blob/master/AlmostBinary_Compiler/Libraries/0000000001110001011101010110000101101110011101000111010101101101.abinl\"\u003equantum\u003c/a\u003e\r\n**Identifier/Name (x64):**\r\n`0000000001110001011101010110000101101110011101000111010101101101`\r\n\r\n**Description:** \r\n_Utilize a small part of the Q# simulator api. E.g. create true random number._\r\n***\r\n\r\n## Why I made this\r\nEsoteric languages like [WhiteSpace](https://esolangs.org/wiki/Whitespace), [Brainfuck](https://esolangs.org/wiki/Brainfuck) or [Arnold-C](https://esolangs.org/wiki/ArnoldC) have inspired me to write my own compiler \u0026 runtime. \r\nIn the very beginnings of my programming-journey, I thought that programmers and hackers code today's applications in Binary. As most, even non-tech people, know today, this is not the case.\r\nThe closest you can get is actually coding [Assembly](https://en.wikipedia.org/wiki/Assembly_language) or if you know Assembly really well, even real machine code. Nevertheless, coding in real binary is incredible difficult\r\nand runs only on a set of processors. Thus, you will have to adapt your binary code to the target machine. \r\n\r\nThis project should make it possible to write **platform-independent binary**. Of course, you are not coding in real binary, like you would if you go the assembly way. \r\nThus, some \"binary\" code written will be compiled to normal strings and other binary-strings will be interpreted at runtime.\r\n\r\n\r\n## TO-DOs\r\n- Add node support for [blockchain library](https://www.c-sharpcorner.com/article/blockchain-basics-building-a-blockchain-in-net-core/), maybe even [smart-contracts](https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/november/blockchain-programming-smart-contracts-in-csharp)\r\n- Improve performance of compiler \u0026 runtime\r\n\r\n## Contribution [![Open Source Love svg2](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\r\n\r\nThis project is licensed under GNU V3, so contributions/pull-requests are welcome. All contributors get listed here. \r\n\r\n**Contributors** [![saythanks](https://img.shields.io/badge/say-thanks-ff69b4.svg)](https://saythanks.io/to/kevin.riedl.privat%40gmail.com)\r\n- Kevin Riedl ([WSDT](https://github.com/wsdt))\r\n\r\n\r\n### Additional notes\r\nAlmost Binary is supposed to be an esoteric programming language and is surely not suitable for real-world programs.\r\n\r\n#### More resources\r\n- [Esolang-Wiki](https://esolangs.org/wiki/Almost_Binary)\r\n\r\n#### Template\r\nThis project was inspried by **[Klip](https://github.com/TimeLoad00/Klip)**.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdt%2Falmostbinary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsdt%2Falmostbinary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdt%2Falmostbinary/lists"}