How nrnrnr/qc-- works
Quick C-- is a retired compiler toolchain: its README describes a workflow in which a compiler emits C-- and Quick C-- turns it into efficient machine code. The supplied tree is centered on interpreter/encoding code and runtime support, rather than exposing a complete compiler front end. The graph therefore shows the documented product boundary and the identifiable interpreter components; internal runtime links are limited to relationships supported by the excerpts or source index.
Main entry points: interp-dec.c C-- interpreter · encode.c Instruction encoder
Components 16
C-- interface
- C-- input
- Machine code
Interpreter engine
- C-- interpreter
interp/interp-dec.c - Instruction encoder
interp/encode.c - Instruction disassembler
interp/disasm-dec.c - Machine-code library
interp/mclib.c
Runtime support
- Memory management
interp/mem.c - Arena allocation
interp/arena.c - Atom handling
interp/atom.c - Formatting
interp/fmt.c - Exception handling
interp/except.c - Multiprecision arithmetic
interp/mp.c - Extended precision
interp/xp.c - Runtime tracing
runtime/trace.c - Overflow support
runtime/overflow/directreturn/runtime-internals.c
Other components
- C-- compiler author
Connections 4
- C-- compiler author → C-- input: emits C--
README - C-- input → C-- interpreter: provides input
- C-- interpreter → Machine code: produces code
README - C-- interpreter → Instruction encoder: uses definitions
interp/interp-dec.c