RSG is a random syntax generator.
NewRSG creates a random syntax generator from the given random seed and yacc file.
Float64 returns a random float. It is sometimes +/-Inf, NaN, and attempts to be distributed among very small, large, and normal scale numbers.
Generate generates a unique random syntax from the root node. At most depth levels of token expansion are performed. An empty string is returned on error or if depth is exceeded. Generate is safe to call from mulitipule goroutines. If Generate is called more times than it can generate unique output, it will block forever.
GenerateRandomArg generates a random, valid, SQL function argument of the specified type.
Int63 returns a random int64.
Intn returns a random int.
|yacc||Package yacc parses .y files.|