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. The tasks you do with aless are in the How-to guides.
- One tree for every formatWhy aless reads every format into the same kind of tree, what that buys, and what the single model gives up.
- Where each value came fromHow 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 placeWhy 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 limitsWhat 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 jlessWhat aless keeps from jless, what it adds, and where the two differ on purpose.