News for hackers. Stuff that matters.
Re:Just Write the Parser by thysultan on Wednesday October 21, 2020 @08:40PM (#24853855)
Take the current + next node

i.e: parse_node + parse_peek

When parse_node is an operator you know it is the "-2" in "-2^-2(2+2)" and when parse_peek is the operator it is "-(2+2)" in the same. An example of this:

- https://github.com/thysultan/Ally/blob/8ba0b4de7ab104ceae54d...

Re:Just Write the Parser by musicale on Wednesday October 21, 2020 @10:52PM (#24854455)
1) This reference is cryptic

2) I was asking the original author for a simple extension to the presented appraoch