Crate erg_compiler
source ·Expand description
defines the compiler for Erg (ergc).
Re-exports
Modules
Defines
Context
.implements SideEffectChecker
SideEffectCheckerを実装
関数や不変型に副作用がないかチェックする
Perform basic linting on source code.
What is implemented here affects subsequent optimizations,
and
erg_linter
does linting that does not affect optimizations.implements
ASTLowerer
.defines
Type
(type kind).Macros
feature_error!($Strc: struct, ctx: Context, loc: Location, name: &str)
unreachable!(self: Context)
Structs
Summarize parsing and desugaring
Generates a
CodeObj
from an String or other File inputs.