← things that survived

04 / compiler / c / state / 110 of 110 tests

ccompiler

a c compiler written in c11 that emits llvm ir

define i32 @factorial(i32 %n)

  1. examples/factorial.c next to the ir the compiler produces for it
    fig. 01 examples/factorial.c next to the ir the compiler produces for it
  2. the pipeline: tokenizer, recursive descent parser, semantic analysis and llvm ir codegen, then clang links a native executable
    fig. 02 the pipeline: tokenizer, recursive descent parser, semantic analysis and llvm ir codegen, then clang links a native executable
  3. the n-queens showcase compiled with ccompiler: the first 6x6 solution and the counts for boards up to 10x10
    fig. 03 the n-queens showcase compiled with ccompiler: the first 6x6 solution and the counts for boards up to 10x10
  4. make check: 110 tests, 0 failures, under addresssanitizer and ubsan. errors are reported as file:line:col diagnostics
    fig. 04 make check: 110 tests, 0 failures, under addresssanitizer and ubsan. errors are reported as file:line:col diagnostics