# How to produce executable code using yecc?

**URL:** <https://forum.elixirforum.com/t/how-to-produce-executable-code-using-yecc/23644>\
**Category:** Questions\
**Tags:** ecto-query, yecc\
**Created:** [July 3, 2019, 12:32am UTC](https://forum.elixirforum.com/t/how-to-produce-executable-code-using-yecc/23644 "2019-07-03T00:32:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![benwilson512](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/32/1457_2.png) [@benwilson512](https://forum.elixirforum.com/u/benwilson512)\
**Post date:** [July 3, 2019, 2:55am UTC](https://forum.elixirforum.com/t/how-to-produce-executable-code-using-yecc/23644/2 "2019-07-03T02:55:58Z")

</div>

The result of quote is not something you execute. Instead of building Elixir AST and then trying to get it compiled, you’d be much better off just dynamically constructing the ecto query data structure itself.

---

_[View the full topic](https://forum.elixirforum.com/t/how-to-produce-executable-code-using-yecc/23644)._
