[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109950":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},109950,"flash-c","dilshan\u002Fflash-c","dilshan"," A C compiler and DOS-style text-mode IDE for Linux x86-64 and AArch64. Compiles C straight to native executables, with a built-in standard library and a source-level debugger.","",null,"C",76,5,1,0,18,44.34,"MIT License",false,"main",[22,23,24,25,26,27,28,29,30],"c","clone","compiler","debugger","ide","linux","rero","tui","x86-64","2026-11-17 02:31:44","2026-11-17 02:26:00","# Flash C\n\nA small C compiler and a full-screen, text-mode IDE for Linux.\n\n* **`fcc`** is the command-line compiler. It reads C source and writes a native **x86-64 Linux\n  executable** directly: no assembler, linker or C library is involved.\n* **`fc`** is the IDE: pull-down menus, overlapping edit windows, an error Message window, option\n  dialogs, a source-level debugger and hyper-linked online help, laid out like the classic DOS-era\n  C IDEs.\n\n![The Flash C IDE](docs\u002Fscreenshots\u002Feditor.png)\n\nFlash C compiles **C (ANSI C89)** with a few C99 conveniences. C++ is not supported.\n\n## Highlights\n\n* **Complete toolchain in one place.** Editor, compiler, linker, run-time library, debugger and help\n  are all part of the project.\n* **A real optimizer.** 48 switchable optimizations: constant folding, global data-flow analysis,\n  SSA, inlining, loop optimizations, register allocation, whole-program passes and profile-guided\n  optimization. See [Optimizations](docs\u002FCOMPILER.md#5-optimizations).\n* **Source-level debugger** with breakpoints, watches, an expression evaluator and call stack.\n* **Per-function linking.** Only the library functions your program uses end up in the executable.\n* **Classic diagnostics.** `Error hello.c 5: Undefined symbol 'x' in function main`.\n* **Online help** for the IDE, the language and every library function, with examples you can copy\n  into the editor.\n\n## Quick start\n\n**Install a release (Linux x86-64):** download `flash-c-\u003Cversion>-linux-x86_64.tar.gz` from the\n[Releases](..\u002F..\u002Freleases) page, then\n\n```\ntar xzf flash-c-*.tar.gz\ncd flash-c-*\u002F\n.\u002Finstall.sh              # installs to ~\u002F.local; use --prefix DIR or run as root for \u002Fusr\u002Flocal\n```\n\n`.\u002Finstall.sh --uninstall` removes it again. Installing is optional: the unpacked folder also runs\nin place with `.\u002Fbin\u002Ffc` and `.\u002Fbin\u002Ffcc`. See [releasing](docs\u002FRELEASING.md) for how releases are made.\n\n**Build from source:** you need a C compiler (gcc or clang), `make`, and a terminal of at least 80×25 with UTF-8. 24-bit\ncolour is used when `COLORTERM=truecolor`; otherwise 16 ANSI colours.\n\n```\nmake                      # builds build\u002Ffc and build\u002Ffcc\n.\u002Fbuild\u002Ffc hello.c        # open (or create) hello.c in the IDE\n.\u002Fbuild\u002Ffcc hello.c       # or compile it directly; this produces .\u002Fhello\n.\u002Fhello\n```\n\n`make test` runs the whole test suite, and `make install` copies both programs and the help files\nto `\u002Fusr\u002Flocal`.\n\nIn the IDE, type a program and press **F2** to save, **F9** to build and **Ctrl+F9** to run it. If\nthe build fails, the Message window lists the errors; press **Enter** on one to jump to the line.\n[The user guide](docs\u002FUSER_GUIDE.md) has the details.\n\n## A quick tour\n\n**Errors that take you to the line.** The Message window lists errors and warnings; the cursor\nfollows them with Alt+F7 and Alt+F8.\n\n![Message window](docs\u002Fscreenshots\u002Fmessages.png)\n\n**Menus and dialogs.** Every command is in the menus, with a one-line hint on the status line. The\nOptions dialogs hold the compiler, linker and environment settings.\n\n| | |\n|---|---|\n| ![Compile menu](docs\u002Fscreenshots\u002Fcompile-menu.png) | ![Code generation options](docs\u002Fscreenshots\u002Fcode-generation-dialog.png) |\n\n**Optimizations.** Each optimization has its own check box, with a description on the status line.\nThe Help button opens the matching help page.\n\n| | |\n|---|---|\n| ![Optimization options](docs\u002Fscreenshots\u002Foptimization-dialog.png) | ![Optimization help](docs\u002Fscreenshots\u002Foptimization-help.png) |\n\n**Debugger.** Set breakpoints with Ctrl+F8, step with F7 and F8, and watch values change.\n\n![Source-level debugger](docs\u002Fscreenshots\u002Fdebugger.png)\n\n**Help.** F1 opens the contents; Ctrl+F1 shows the topic for the word under the cursor, for example\n`printf`.\n\n![Online help](docs\u002Fscreenshots\u002Fhelp.png)\n\n## Documentation\n\n| Document | What is in it |\n|---|---|\n| [User guide](docs\u002FUSER_GUIDE.md) | Using the IDE: windows, menus, keys, the editor, projects, the debugger, online help. |\n| [Compiler reference](docs\u002FCOMPILER.md) | `fcc` switches, the language Flash C accepts, diagnostics, optimizations, profile-guided optimization, linking. |\n| [Library reference](docs\u002FLIBRARY.md) | Every header and function of the run-time library, with the module that implements it. |\n| [Architecture notes](docs\u002FARCHITECTURE.md) | How the compiler, optimizer, library, IDE and debugger work inside; for contributors. |\n| [Evidence](analysis\u002FEVIDENCE.md) | How the IDE structure was derived from a study of the reference IDE. |\n\n## Project layout\n\n```\nsrc\u002Fcompiler\u002F   lexer and preprocessor, parser and type checker, optimizer, x86-64 code generator\n                and ELF writer, compiler driver\nsrc\u002Fide\u002F        terminal layer, windows, menus, dialogs, editor, help, debugger, commands\nsrc\u002Fcli\u002F        the fcc main program\nruntime\u002F        the run-time library in Flash C (lib\u002F) and its headers (include\u002F)\nhelp\u002F           the extended online help (*.fch), generated by tools\u002Fhelpgen\ntests\u002F          compiler, diagnostics, optimizer, library, IDE and debugger tests\ntools\u002F          generators (library docs, help files, screenshots) and development helpers\ndocs\u002F           the documentation, and the screenshots used in it\nanalysis\u002F       the study of the reference IDE\n```\n\n## Contributing\n\nBug reports and pull requests are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow,\ncode style and tests.\n\n## Tests\n\n`make test` runs, in order: the compiler against `gcc` (`tests\u002Frun.sh`), the diagnostics text\n(`diag.sh`), the command-line switches (`options.sh`), each optimization (`opt.sh`) and a fuzz\ntest that compiles random programs with and without optimization and compares their output\n(`optfuzz.py`), the help examples (`helpexamples.py`), the library (`libtest.sh`), and the IDE,\nprojects and debugger driven through a pseudo-terminal (`ide_smoke.py`, `project_smoke.py`,\n`debug_smoke.py`).\n\nThe screenshots in this repository are made by the real IDE: run `python3 tools\u002Fscreenshots.py`\nafter a build to regenerate them.\n\n## Notice on the reference product\n\nThis project uses Turbo C (TC) only as a reference. It does not use any of its resources: no code,\nlibraries, headers, help text or other files from it are included. All of the compiler code and\nthe standard library source in this repository is original, generated code. The compiler and the IDE\nwere developed by studying the executable binary of the Turbo C++ compiler, available at\n\u003Chttps:\u002F\u002Farchive.org\u002Fdetails\u002Fturboc3.1_202112>. The IDE structure (menu tables, dialog controls,\nstatus line, colour groups, compile, make and run behaviour) was derived from that study; the\nevidence and method are in [`analysis\u002FEVIDENCE.md`](analysis\u002FEVIDENCE.md). The raw extraction output\nis not distributed with this repository.\n\n## License\n\nFlash C is released under the [MIT License](LICENSE).\n","Flash C 是一个面向 Linux x86-64 平台的轻量级 C 编译器与全屏文本模式 IDE，支持直接生成原生可执行文件，无需外部汇编器、链接器或系统 C 库。其核心功能包括：ANSI C89 兼容编译（含部分 C99 便利特性）、48 种可选优化（含 SSA、全局数据流分析、函数内联等）、源码级调试器（断点、变量监视、调用栈）、按需链接标准库函数，以及类 DOS 风格的 TUI 界面（下拉菜单、多窗口编辑、错误跳转、超链帮助）。适用于嵌入式学习、操作系统开发教学、资源受限环境下的 C 语言实践，以及偏好经典命令行 IDE 体验的开发者。",2,"2026-11-24 04:38:00","CREATED_QUERY"]