[libre-riscv-dev] parser precedence, code review / checking needed

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Apr 3 22:44:17 BST 2020


On Fri, Apr 3, 2020 at 9:08 PM Jacob Lifshay <programmerjake at gmail.com> wrote:
> > ply has something called "precedence" which is a list-of-tuples that
> > helps resolve parser ambiguities.
>
> Just because something has a feature, doesn't mean that it's the best
> way to do it.

yeh i know :)  ply was replaced by sly for good reasons.  ply was - is
- FAST.  it did not - does not - use classes because classes use up a
lot more memory and are slower.  however with pretty much everyone now
possessing portable supercomputers, that's no longer so relevant.

the only reason i'm using it is because it's something i've worked
with about... five to eight times now.  i forget :)

> As far as I can tell, it's working now.

fantastic.  thank you.  whew.

l.



More information about the libre-riscv-dev mailing list