When is it OK to panic in Go?
alexedwards.netGoAWK uses panic & recover to simplify error handling in the recursive descent parser: https://github.com/benhoyt/goawk/blob/master/parser/parser.g...
GoAWK uses panic & recover to simplify error handling in the recursive descent parser: https://github.com/benhoyt/goawk/blob/master/parser/parser.g...