An open API service indexing awesome lists of open source software.

https://github.com/fuhsnn/c_files

A collection of real-world single-file C programs for convenient compiler testing.
https://github.com/fuhsnn/c_files

amalgamation c single-file

Last synced: 4 months ago
JSON representation

A collection of real-world single-file C programs for convenient compiler testing.

Awesome Lists containing this project

README

          

A collection of self-contained, medium-sized real-world `.c` files for convenient compiler testing.

No guarantee other than the intended usage: `cc -S -o/dev/null`.

#### bzip2.c, gcc.c, gzip.c, oggenc.c

- From the original https://people.csail.mit.edu/smcc/projects/single-file-programs

#### chibicc.c

- https://github.com/rui314/chibicc cramped into a single file.

#### janet.c

- https://github.com/janet-lang/janet @v1.38.0
- Combined files created during normal build process. (`build/c/janet.c` + `build/c/shell.c` + `build/janet.h`)

#### minilua.c

- From https://github.com/edubart/minilua @536a134.

#### pdpmake.c

- From https://github.com/rmyorston/pdpmake @d024c0f with script from https://github.com/rmyorston/pdpmake/issues/69

#### puredoom.c

- From https://github.com/Daivuk/PureDOOM @48376dd. The `examples/Tests/tests.c` file is used.

#### sqlite3.c

- From SQLite 3.47.2 `make sqlite3.c`

#### wak.c

- From https://github.com/raygard/wak @e02236a

#### wuffs.c

- From https://github.com/google/wuffs @3387e19, `release/c/wuffs-v0.4.c`