walpurgis/params.toml
Akemi Izuko 5c80987aa5
All checks were successful
ci/woodpecker/push/build_rust Pipeline was successful
AstBuilder: switch to global decls
2023-11-18 13:18:10 -07:00

104 lines
2.2 KiB
TOML

verify_config = true
[global_flow]
gen_decl = 0.6
gen_subroutine = 0.0
gen_typedef = 0.3
end_generation = 0.1
[statements]
[statements.gen_assign]
gen_boolean = 0.0
gen_character = 0.0
gen_integer = 0.0
gen_real = 0.0
gen_tuple = 0.0
[statements.gen_decl]
gen_boolean = 0.0
gen_character = 0.0
gen_integer = 0.5
gen_real = 0.5
gen_tuple = 0.0
qual_const = 1.0
qual_var = 0.0
[statements.gen_global_decl]
gen_boolean = 0.0
gen_character = 0.0
gen_integer = 0.5
gen_real = 0.5
gen_tuple = 0.0
[statements.gen_if_statement]
gen_statement = 0.0
end_gen_statement = 0.0
fork_elif = 0.0
fork_else = 0.0
fork_end = 0.0
[statements.gen_loop]
gen_inf_loop = 0.0
gen_cond_loop = 0.0
gen_statement = 0.0
end_gen_statement = 0.0
[types]
[types.gen_boolean]
expr_and = 0.0
expr_or = 0.0
expr_not = 0.0
expr_gt = 0.0
expr_ge = 0.0
expr_lt = 0.0
expr_le = 0.0
expr_eq = 0.0
expr_eq_real = 0.0
expr_eq_char = 0.0
expr_eq_tuple = 0.0
expr_ne = 0.0
expr_ne_real = 0.0
expr_ne_char = 0.0
expr_ne_tuple = 0.0
get_instant = 0.0
[types.gen_integer]
expr_add = 0.2
expr_sub = 0.2
expr_mul = 0.1
expr_div = 0.1
expr_rem = 0.0
expr_exp = 0.0
expr_pos = 0.0
expr_neg = 0.0
get_instant = 0.4
max_depth = 10
[types.gen_real]
expr_add = 0.1
expr_sub = 0.1
expr_mul = 0.1
expr_div = 0.3
expr_rem = 0.0
expr_exp = 0.0
expr_pos = 0.0
expr_neg = 0.0
gen_integer = 0.1
get_instant = 0.3
max_depth = 10
[types.gen_tuple]
gen_each_field = 0.5
get_instant = 0.5
[dev]
float_gen_distro_pos_stddiv = 56713724e30 # DO NOT expand with zeros
float_gen_distro_neg_stddiv = 56713724e30
int_gen_distro_pos_stddiv = 214748364.0
int_gen_distro_neg_stddiv = 214748364.0