Commit graph

2 commits

Author SHA1 Message Date
Leonardo de Moura
c9e4c89d9c chore(library/init/meta): remove mk_dec_eq_instance
The tactic mk_dec_eq_instance constructs a function using the brec_on
recursor. The compiler generates horrible code for this kind of
definition. It creates a closure for each recursive call.
Moreover, `brec_on` accumulates all intermediate results.

To generate efficient code, we need to generate a collection of
recursive equations, and then invoke the equation compiler.

cc @kha
2018-04-27 16:13:10 -07:00
Sebastian Ullrich
1e53b03aa3 feat(init/parser): add prototype code for syntax trees, macro expansion, and name resolution 2018-04-27 17:57:03 +02:00