Что такое формат файла FJ?
Файл .fj содержит исходный код для FlipJump, эзотерического языка программирования с одной инструкцией, созданного Томом Херманом (tomhea) около 2021 года. FlipJump относится к классу One Instruction Set Computer, или OISC. Его единственная инструкция имеет вид a;b, которая инвертирует бит по адресу a, а затем переходит к адресу b. Одной этой операции достаточно, чтобы сделать язык полным по Тьюрингу.
Файл .fj представляет собой обычный текст. Наряду с необработанными инструкциями a;b он может содержать константы вида x = 6;, метки, параметризованные макросы, повторения rep(n, i), пространства имен и выражения времени ассемблирования. Проект поставляется со стандартной библиотекой, разделенной на пространства имен bit, hex и stl с макросами для ввода, вывода, математики и управления потоком. Комментарии начинаются с //.
Безопасность и защита
РИСК: 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.
Детали формата
в двух словахПрограммы, открывающие файлы FJ
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. Технические подробности
глубокая спецификация| 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 |
| Выпущен | 2021 |
| Последняя версия | FlipJump 1.5.0 (June 2026) |
| Спецификация | esolangs.org |
Конвертации FJ
Вопросы и ответы сообщества
спрошено пользователямиВопросов пока нет - станьте первым, кто спросит о файлах FJ.
Часто задаваемые вопросы
Что такое файл .fj?
Как открыть файл .fj?
pip install flipjump и выполните fj yourfile.fj.Как запустить программу на FlipJump?
fj из пакета flipjump. fj hello.fj собирает и запускает программу за один шаг; fj --asm hello.fj -o hello.fjm только собирает, а fj --run hello.fjm выполняет скомпилированный файл.В чем разница между .fj и .fjm?
.fj - это читаемый человеком исходный код FlipJump, который вы пишете, а .fjm - это бинарный файл FlipJump Machine, создаваемый ассемблером для запуска интерпретатором.