| commit | 9f24a2453da6ac4646b97e5629b722add80a1772 | [log] [tgz] |
|---|---|---|
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | Sun May 02 13:34:28 2021 +0000 |
| committer | GitHub <noreply@github.com> | Sun May 02 13:34:28 2021 +0000 |
| tree | 45eae05a638fac9211d360b239355641d01f0d5a | |
| parent | 222f4d2891459e37b358930a0e608fdf5eed6da0 [diff] | |
| parent | 0f5b22ff18043b9fa8ec5417ce94ada0418f136f [diff] |
Merge #32 32: Report 1-based indices in Error's Display impl r=lnicola a=CAD97 This matches every (mainstream) text editor's use of the line:column format. I actually lost some time trying to figure out why it was complaining about an empty line before I realized why 😅 I kept `Location` 0-based and translated just at the point of display, as that was a much less invasive change. Co-authored-by: Christopher Durham <cad97@cad97.com>
A DSL for specifying concrete syntax trees. See this introductory post.
See ./rust.ungram for an example.