Technical Report: “Introduction to Compiler Generation Using HACS”
Mar 1, 2016Two Sigma
Summary
This post introduces Higher-order Attribute Contraction Schemes (HACS), a language designed for programming compilers. It explains how HACS allows for the creation of a complete compiler from a single source file, detailing the main stages of a compiler (lexical analysis, syntax analysis, semantic analysis, and code generation) within the HACS framework. The post also discusses the evolution from previous systems like CRSX, highlighting HACS's aim to use standard notations for easier teaching and development.