Hacker News new | ask | show | jobs
by dkjaudyeqooe 846 days ago
> handle expressions/operators

Precedence climbing is a natural and efficient way to parse expressions in a recursive decent parser. It's used by Clang in LLVM.

https://eli.thegreenplace.net/2012/08/02/parsing-expressions...

1 comments

Make them all s-expr with prefix notation solves even that generally, correct?