# Explanation

Why aless works as it does, from its model of a document to the choices behind aless and what they cost.

These pages argue rather than instruct. Read them when you want to know why aless behaves as it does, or whether it suits a job you have. The facts these pages argue from are in the [Reference](https://aless.tabnas.dev/reference/). The tasks you do with aless are in the [How-to guides](https://aless.tabnas.dev/how-to/).

- [One tree for every format](https://aless.tabnas.dev/explanation/one-tree.html): Why aless reads every format into the same kind of tree, what that buys, and what the single model gives up.
- [Where each value came from](https://aless.tabnas.dev/explanation/positions.html): How aless finds the line and column of every value when almost no grammar records them, where the position is exact, and where it is a best effort.
- [How a reload keeps your place](https://aless.tabnas.dev/explanation/reloading.html): Why aless finds your place again by path after a watched file changes, how aless sees every change, and what happens when the file breaks or disappears.
- [Large inputs and limits](https://aless.tabnas.dev/explanation/large-inputs.html): What a parse costs in time and memory, and why aless sets limits that stop a large or hostile input before it takes the machine down.
- [aless and jless](https://aless.tabnas.dev/explanation/jless.html): What aless keeps from jless, what it adds, and where the two differ on purpose.
