The parser generator currently attempts to inline short rules to avoid unnecessary function calls, but it completely does not perm any rule simplification. There are some low hanging fruit available, provided the rules don't have a transform attached:
(a (b c) d) => (a b c d)
(/ a (/ b c) d) => (/ a b c d)
("reg" "ex") => "\(reg\)\(ex\)"
The parser generator currently attempts to inline short rules to avoid unnecessary function calls, but it completely does not perm any rule simplification. There are some low hanging fruit available, provided the rules don't have a transform attached:
Related to #76