Compiler Reference
This folder contains documentation of the compiler and standard library.
Values and Types
Values in Feersum are all CIL objects. Value types are generally boxed types.
The empty list is represented by null.
Compiler Error Index
Each diagnostic emitted from the compiler has a unique error number of the form
SCMXXX where XXX is the error number. Error numbers are grouped into
‘categories’ based on the phase in the compiler that emitted the diagnostic.
Currently the diagnostic categories are:
1-9- Legacy syntax errors.10-19- Parser and read.20-29- Library declaration and use.30-39- Binder diagnostics.40-49- Macro definition and expansion.
Last updated: 2026-03-09