How I Built cjsawk - A New C Compiler for Any Platform

How I Built cjsawk - A New C Compiler for Any Platform

ACCU Conference via YouTube Direct link

0:33 Self-Hosted Compiler Concept

4 of 17

4 of 17

0:33 Self-Hosted Compiler Concept

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

How I Built cjsawk - A New C Compiler for Any Platform

Automatically move to the next video in the Classroom when playback concludes

  1. 1 0:00 Introduction to cjsawk and Motivation
  2. 2 0:04 What is cjsawk? Subset of C, JavaScript, and AWK
  3. 3 0:20 Challenges of Cross-System C Compilation
  4. 4 0:33 Self-Hosted Compiler Concept
  5. 5 1:09 Compiler Bootstrap Paths and Platform Support
  6. 6 2:00 Macro Assembly Output and Compilation Process
  7. 7 3:02 Assembler and Linker: m0.js and hex2.js
  8. 8 3:45 Rebuilding the Compiler Bit-Identically
  9. 9 4:20 Compiler Architecture Overview
  10. 10 5:33 Main Compiler Loop and Global Declarations
  11. 11 6:20 Function Declarations and Argument Handling
  12. 12 7:29 Expression Handling and Language Limitations
  13. 13 8:20 Inline Assembly for Unsupported Operations
  14. 14 9:41 Language Design Decisions and Consistency
  15. 15 10:02 Porting C99 Compiler and Bootstrapping TCC
  16. 16 12:01 Use Cases and Practical Applications
  17. 17 13:12 Closing Remarks and Questions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.