Was ist das FJ-Dateiformat?
Eine .fj-Datei enthält Quellcode für FlipJump, eine esoterische Ein-Instruktions-Programmiersprache, die um 2021 von Tom Herman (tomhea) entwickelt wurde. FlipJump ist ein „One Instruction Set Computer“ (OISC). Seine einzige Instruktion hat die Form a;b, welche das Bit an der Adresse a umkehrt (flippt) und dann zur Adresse b springt. Diese eine Operation reicht aus, um die Sprache Turing-vollständig zu machen.
Eine .fj-Datei ist reiner Text. Neben den rohen a;b-Befehlen kann sie Konstanten wie x = 6;, Sprungmarken (Labels), parametrisierte Makros, rep(n, i)-Wiederholungen, Namespaces und Ausdrücke zur Assemblierungszeit enthalten. Das Projekt liefert eine Standardbibliothek mit, die in die Namespaces bit, hex und stl unterteilt ist und Makros für Eingabe, Ausgabe, Mathematik und Kontrollfluss bereitstellt. Kommentare beginnen mit //.
Sicherheit
RISIKO: LOWA .fj file is plain-text source code and cannot run on its own; it only executes when assembled and run by the FlipJump interpreter. There are no macros that touch the host OS and no embedded binaries, so opening one in an editor is safe. As with any source code, only assemble and run files from sources you trust.
Formatdetails
kurz gefasstProgramme zum Öffnen von FJ-Dateien
pip install flipjump, then run fj yourfile.fj to assemble and execute the program, or fj --asm yourfile.fj -o out.fjm to only assemble. .fj file to read and edit the FlipJump assembly with plain-text highlighting and search across the codebase. pip install flipjump, then run fj yourfile.fj in Terminal to assemble and run the program. .fj file to edit the source and inspect the standard-library macros it references. pip install flipjump, then run fj yourfile.fj to assemble and run, or fj --run out.fjm to execute a compiled file. .fj file to edit FlipJump assembly and manage multi-file projects. .fj source in a terminal editor to make quick edits before assembling with fj. Technische Details
technische Spezifikation| Encoding | UTF-8 / ASCII plain text |
| Byte order | N/A (text) |
| Container | None; flat text file |
| Compression | None (source is uncompressed text) |
| Typical size | A few hundred bytes to tens of kilobytes |
| Structure | Human-readable FlipJump assembly. Each statement is the single instruction 'a;b' (flip the bit at address a, then jump to address b), with sugar forms like ';J', 'F;' and ';'. Files also contain constant definitions (x = 6;), labels (label:), macro definitions with parameters and temporary labels, rep(n, i) repetitions, namespaces, memory-segment and address-reservation directives, and assembly-time arithmetic/bitwise/logical expressions. Comments start with //. |
| Platforms | Windows, macOS, Linux |
| Notes | The standard library ships three namespaces (bit, hex, stl) with macros for I/O, math, logic, comparison, pointers, and stack/functions. The wflip operation flips multiple bits in a word at once. Source is assembled to the binary .fjm format for execution. |
| Language Paradigm | One Instruction Set Computer (OISC), esoteric |
| Toolchain | flipjump Python package providing the fj command-line assembler and interpreter |
| Veröffentlicht | 2021 |
| Neueste Version | FlipJump 1.5.0 (June 2026) |
| Spezifikation | esolangs.org |
FJ-Konvertierungen
Community Q&A
von Nutzern gefragtNoch keine Fragen - stellen Sie die erste Frage zu FJ-Dateien.
Häufig gestellte Fragen
Was ist eine .fj-Datei?
Wie öffne ich eine .fj-Datei?
pip install flipjump und führen Sie fj dateiname.fj aus.Wie führe ich ein FlipJump-Programm aus?
fj aus dem flipjump-Paket. fj hello.fj assembliert und startet das Programm in einem Schritt; fj --asm hello.fj -o hello.fjm assembliert nur, und fj --run hello.fjm führt die kompilierte Datei aus.Was ist der Unterschied zwischen .fj und .fjm?
.fj ist der menschenlesbare FlipJump-Quellcode, den Sie schreiben, während .fjm die binäre FlipJump-Machine-Datei ist, die vom Assembler erzeugt und vom Interpreter ausgeführt wird.