Hva er FJ-filformatet?
En .fj-fil inneholder kildekode for FlipJump, et esoterisk programmeringsspråk med én instruksjon laget av Tom Herman (tomhea) rundt 2021. FlipJump er en «One Instruction Set Computer», eller OISC. Dens eneste instruksjon har formen a;b, som flipper biten på adresse a og deretter hopper til adresse b. Den ene operasjonen er nok til å gjøre språket Turing-komplett.
En .fj-fil er ren tekst. Ved siden av rå a;b-instruksjoner kan den inneholde konstanter som x = 6;, etiketter (labels), parametriserte makroer, rep(n, i)-repetisjoner, navnerom og uttrykk som evalueres ved montering (assembly-time). Prosjektet leveres med et standardbibliotek delt inn i navnerommene bit, hex og stl med makroer for inndata, utdata, matematikk og kontrollflyt. Kommentarer starter med //.
Sikkerhet og trygghet
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.
Formatdetaljer
i et nøtteskallProgrammer som åpner FJ-filer
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. Tekniske detaljer
dyp spesifikasjon| 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 |
| Utgitt | 2021 |
| Siste versjon | FlipJump 1.5.0 (June 2026) |
| Spesifikasjon | esolangs.org |
FJ-konverteringer
Spørsmål og svar fra fellesskapet
spurt av brukereIngen spørsmål ennå - vær den første til å spørre om FJ-filer.
Ofte stilte spørsmål
Hva er en .fj-fil?
Hvordan åpner jeg en .fj-fil?
pip install flipjump og kjør fj dinfil.fj.Hvordan kjører jeg et FlipJump-program?
fj-kommandoen fra flipjump-pakken. fj hello.fj monterer og kjører i ett trinn; fj --asm hello.fj -o hello.fjm bare monterer, og fj --run hello.fjm utfører den kompilerte filen.Hva er forskjellen mellom .fj og .fjm?
.fj er den menneskelig lesbare FlipJump-kildekoden du skriver, mens .fjm er den binære FlipJump Machine-filen produsert av montereren som tolken kjører.