diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-29 18:21:00 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-29 18:21:00 -0700 |
| commit | 708568332c3b47f84266c1774ce28d14510a0216 (patch) | |
| tree | 13304168ad78ae8d140cf2839e9f6b8db06baa70 /src/num.rs | |
| parent | License with GPLv3. (diff) | |
| download | qc-708568332c3b47f84266c1774ce28d14510a0216.tar.zst | |
Use a stack for the parser.
I don't have much experience writing parsers with a stack, but it seems
pretty straightforward: the stack just records what you've seen so far,
and you simplify down some prefix of the stack whenever the
precedence decreases.
Diffstat (limited to 'src/num.rs')
0 files changed, 0 insertions, 0 deletions
