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://github.com/tomhea/flip-jump https://esolangs.org/wiki/FlipJump

- c2fj python package https://pypi.org/project/c2fj/


Comments URL: https://news.ycombinator.com/item?id=42742350

Points: 30

# Comments: 13

https://github.com/tomhea/c2fj

Établi 3h | 17 janv. 2025 à 21:30:07


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Dr. TVAM – Inverse Rendering for Tomographic Volumetric Additive Manufacturing

We published this work at SIGGRAPH ASIA 2024.

Based on Mitsuba 3 and Dr. JIT we provide our software Dr. TVAM to optimize patterns for TVAM. TVAM allows to print centi-meter scale objects withi

17 janv. 2025 à 21:30:10 | Hacker news