# `KiwiCodec.ModuleCompiler`
[🔗](https://github.com/open-pencil/kiwi_codec/blob/v0.7.0/lib/kiwi_codec/module_compiler.ex#L1)

Compiles `.kiwi` schema text or parsed schemas into Elixir modules in memory.

This is intended for tests and tooling. Application code should usually use
`mix kiwi.gen` and compile generated source files with the project.

# `compile_schema!`

```elixir
@spec compile_schema!(
  KiwiCodec.Schema.t(),
  keyword()
) :: [module()]
```

# `compile_string!`

```elixir
@spec compile_string!(
  String.t(),
  keyword()
) :: [module()]
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
