Versions in this module Expand all Collapse all v1 v1.1.0 Aug 2, 2026 v1.0.0 Aug 1, 2026 Changes in this version + type BuiltinKind uint8 + const BuiltinGeneric + const BuiltinPrimitive + type Result struct + Builtins map[string]TypeInfo + Globals *Scope + func Analyze(file *ast.File) (*Result, error) + type Scope struct + func NewScope(parent *Scope) *Scope + func (s *Scope) Define(sym Symbol) error + func (s *Scope) Lookup(name string) (Symbol, bool) + type Symbol struct + Kind SymbolKind + Name string + Node ast.Node + type SymbolKind uint8 + const SymbolExport + const SymbolFunction + const SymbolImport + const SymbolInterface + const SymbolType + const SymbolWorld + type TypeInfo struct + Arity int + Kind BuiltinKind + Name string