aurielsolaris/f9s — explained in plain English
Analysis updated 2026-08-08 · repo last pushed 2026-03-28
Learn how compilers work by studying a compact codebase that goes from source code to machine instructions.
Experiment with a simplified FORTRAN-like syntax in a lightweight interactive environment.
Type quick math expressions at the command line and get instant answers.
Write small programs with loops, arrays, and hashmaps that compile to standalone Windows executables.
| aurielsolaris/f9s | 0verflowme/radare2 | ac000/find-flv | |
|---|---|---|---|
| Language | C | C | C |
| Last pushed | 2026-03-28 | 2026-07-02 | 2013-04-05 |
| Maintenance | Maintained | Maintained | Dormant |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 4/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Windows environment with an x86-64 processor and a C toolchain to build the compiler from source.
F9S is a small, custom programming language based on a simplified version of FORTRAN 95. It lets you write simple programs with variables, loops, arrays, and hashmaps (key-value lookup tables), then compiles them directly into standalone Windows executables. You interact with it through a command-line prompt where you can either compile files or just type quick math expressions like 3 + 2 to get instant answers. When you feed it a source file, the compiler reads your code and translates it into raw machine instructions for x86-64 Windows processors. Notably, it handles some of the arithmetic using assembly code written directly for the CPU, and it even checks your hardware at startup to see if it supports advanced math features like SSE or AVX for faster square root calculations. If your CPU doesn't support those features, it falls back to a clever software workaround. This project would appeal to someone learning how compilers actually work under the hood, since the entire thing is under 3,500 lines of code and is built from scratch rather than relying on existing compiler frameworks. It is also a fun tool for anyone who likes the classic syntax of FORTRAN but wants a lightweight environment to experiment with basic programming concepts like control flow, arrays, and hashmaps. The project makes some deliberate tradeoffs worth noting. It is not a complete implementation of FORTRAN 95, it covers a curated subset of the language's features. The error reporting uses a lighthearted "pat" (warning) and "slap" (error) system to give you feedback, and the hashmaps are relatively simple 64-slot tables rather than fully dynamic data structures. These choices keep the project compact and understandable rather than aiming for production-grade robustness.
F9S is a tiny custom programming language inspired by FORTRAN 95 that compiles code directly into Windows executables, written in under 3,500 lines of C with no external compiler frameworks.
Mainly C. The stack also includes C, x86-64 Assembly, FORTRAN 95.
Maintained — commit in last 6 months (last push 2026-03-28).
No license information is provided in the repository, so usage rights are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.