# 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:** 10

<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, 11:50am UTC](https://forum.elixirforum.com/t/how-to-produce-executable-code-using-yecc/23644/10 "2019-07-03T11:50:17Z")

</div>

Elixir code is compiled not interpreted. Dynamically compiling code all the time is not going to perform well, and may lead to unbound memory growth since you’d be generating compilation artifacts all the time.

By an ecto query data structure I mean a `%Ecto.Query{}` struct, which is what you get when you call the functions:

```elixir
SomeSchema |> where(foo: ^whatever)

```

---

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