Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
1234567891011121314151617181920212223package resolver
import ( "iter"
"git.urbach.dev/cli/q/src/core" "git.urbach.dev/cli/q/src/types")
// parseStructs parses the tokens of the struct field types.func parseStructs(env *core.Environment, structs iter.Seq[*types.Struct]) error { processed := map[*types.Struct]recursionState{types.String: finished}
for structure := range structs { err := parseStruct(env, structure, processed)
if err != nil { return err } }
return nil}