Here Im going to document everything i've learned from building an compiler I chose C, because is the founding father of modern programming languages and the perfect study object
My goal is developing an simple compiler following instructions from the Crafting Interpreters guide book, the end product should deliver AST to bytecode
- Gnu C Compiler : Compiling tool and generator of executable outputs
- clangd : Language Server for coding C and C ++
- gdb : Gnu Debugger for dealing with seg faults
- make : tool for executing build steps defined in Makefile
- bear : rust tool for generating compile_commands.json dinamically according to the project folder, helps Lsp's identify correctly