[08] Code Generation from IR and "Fun" Bug - Data Oriented C Compiler

Опубликовано: 29 Декабрь 2024
на канале: rj45 Creates
256
13

Converting IR to assembly code, plus bundling customasm and converting end to end tests into C from shell script. Plus a really funny C memory overwrite bug making the tests flakey.

This series is incrementally building a C Compiler in C using Data Oriented Design as simply as we can.

A few ways to support me making videos and software for the community:
Ko-Fi (preferred) - https://ko-fi.com/rj45_creates
Patreon -   / rj45creates  
GitHub Sponsors - https://github.com/sponsors/rj45

See the project on github here: https://github.com/rj45/gosie_c

Sean Barrett's stb_ds.h documentation: http://nothings.org/stb_ds/
Latest version: https://github.com/nothings/stb/blob/...

chibbicc: https://github.com/rui314/chibicc/com...

Rui Ueyama's Compiler Book: https://www.sigbus.info/compilerbook

Get the assembler I am using here: https://github.com/hlorenzi/customasm