API Reference Ksc v#0.1.0

Copy Markdown View Source

Modules

Ksc

Kaitai Struct Compiler for Elixir.

Generates Elixir source code from ClassSpec structs.

Name conversion and code generation helpers.

Translates KSY expression language to Elixir code strings. Supports :parse mode (var_field), :instance mode (result[:field]), :repeat_until mode.

Sequence attribute specification.

Top-level type definition from a .ksy file.

Enumeration specification.

Instance specification - either a value instance or a parse instance.

Parses KSY YAML into internal format structs.

Lightweight runtime for Kaitai Struct generated parsers.

YAML parser for KSY files. Delegates to yaml_elixir and normalizes keys to strings.

Mix Tasks

Compiles .ksy files to Elixir source files.