nmd
nmd copied to clipboard
set of single-header libraries for C/C++. The code is far from finished but some parts are quite usable.
nmd
set of single-header libraries for C/C++
Notable
- C89 x86 assembler and disassembler: nmd_assembly.h
- C89 2D graphics library: nmd_graphics.h
General information
- Each library's documentation is at the start of the file.
- The end user should use the single-header libraries in the root directory. The code in the folders(e.g.
/assembly,/graphics) is for development only.
Showcase(listed in no particular order)
Code guidelines
- Ensure C89 compatibility.
- Every identifier uses snake case.
- Enums and macros are uppercase, every other identifier is lowercase.
- Non-internal identifiers start with the
NMD_prefix. e.g.nmd_x86_decode(). - Internal identifiers start with the
_NMD_prefix. e.g._nmd_append_string().
Repository inspired by nothings/stb.