Friday, January 17, 2025

Show HN: Compile C to Not Gates https://ift.tt/tWOkPZJ

Show HN: Compile C to Not Gates Hi! I've been working on the flipjump project, a programming language with 1 opcode: flip (invert) a bit, then jump (unconditionally). So a bit-flip followed by more bit-flips. It's effectively a bunch of NOT gates. This language, as poor as it sounds, is RICH. Today I completed my compiler from C to FlipJump. It takes C files, and compiles them into flipjump. I finished testing it all today, and it works! My key interest in this project is to stretch what we know of computing and to prove that anything can be done even with minimal power. I appreciate you reading my announcement, and be happy to answer questions. More links: - The flipjump language: https://ift.tt/Y7Qn1Ga https://ift.tt/8bjKV2C - c2fj python package https://ift.tt/rZKDeR6 https://ift.tt/CgfJyEh January 18, 2025 at 01:06AM

No comments:

Show HN: Playing Piano with Prime Numbers https://ift.tt/57qGj3T

Show HN: Playing Piano with Prime Numbers I decided to turn prime numbers into a mini piano and see what kind of music they could make. Insp...