These are chat archives for learnclang/general
More About Compiler
The Compiler design consists of the following phases.
1. Lexical Analyzer<br>
x = a + b * c /* source code */--> Lexical Analyzer -->
id = id + id * id
2. Syntax Analyzer(Parser)<br>
3. Semantic Analyzer<br>
4. Intermediate Code Generator<br>
eg: x = a + b * c - three address code representation is, t1 = b * c t2 = t1 + a x = t2
5. Code Optimizer<br>
6. Target Code Generator
eg: the optimized code will be, t1 = b * c x = a + t1
If you want to learn more about compilers ( and in depth) check out this free course
That looks like a great resource, thanks for sharing!
What do you guys think about either next or next-next project being to "Open a window"? And that we'll do it using whichever platform we're at or would like to try it on, following up with tutorials for each platform, like Windows using the
windows.h like in the Handmade Hero videos, and Linux using X or Wayland and so forth.
No drawing or anything, just to get a window opened.