Type of Scala 3 Grammar

I’m interested to know whether dotc, the parser of Scala 3, is a top-down (for example, LL parser) or a bottom-up parser (for example, LR parser). I’d be grateful for all of your answers.

It’s a handwritten recursive-descent parser. So, top-down.

2 Likes