Compilers are FAKE

^ Up

2026 May NOT

Languages typically either

In the latter model, compile-time logic is often limited to primitive pre-processors, declarative DSLs or otherwise limited subsystems (C++ templates, Zig comptime, etc.) and often even offloaded to an entirely separate "build system" language. In the former model, compilation is swept under the rug like it's shameful dirt.

Why?

How about designing a language that embraces the reality of what it means to "compile code": Run an executable with source code as input. Sound familiar? IT'S WHAT AN INTERPRETER DOES! So, in my preferred language:

Some lisp/scheme implementations already contain an interpreter and compiler in one, exposing parts of the compiler through APIs, and allow full compile time code execution via macros. However, in my experience, they still tend to embrace the traditional interpreted vs. compiled mentality, which sometimes just makes things awkward. For example, GNU Guile insists on automatically compiling everything into a bytecode cache on the filesystem, unless you pass a CLI flag disabling this behavior. And if you write a Guile Scheme codebase, you still typically use Autotools and Make to call guild to compile the Scheme files. Just why? You have the full Guile runtime at your disposal, at compile time... I propose a change in mentality.

Dial the schizophrenia to 11

Compilers are all FAKE. They just pretend to be compilers. All a compiler is, is an interpreter for a language that pretends to be a "compiled language" when in reality it's just an interpreted DSL for declaring the desired behavior of an executable, which is produced when the codebase written in this DSL is interpreted ("compiled") by the interpreter ("compiler").

They have played us for absolute fools.

C is a declarative, interpreted DSL to describe executables.

GCC is an interpreter that runs C, a declarative DSL describing the executable that GCC should shit out.