Does using bottom-up parsing (LR) in Antlr v4 also result in a tree that's accessed bottom up?

17 views
Skip to first unread message

Matti Viljamaa

unread,
May 8, 2017, 5:31:06 AM5/8/17
to antlr-discussion
Does using bottom-up parsing (LR) in Antlr v4 also result in a tree that's accessed bottom up?

Mike Lischke

unread,
May 8, 2017, 8:39:05 AM5/8/17
to antlr-di...@googlegroups.com

>
> Does using bottom-up parsing (LR) in Antlr v4 also result in a tree that's accessed bottom up?

ANTLR generates recursive decent top-down parsers, hence you cannot do bottom-up parsing with ANTLR.

Mike
--
www.soft-gems.net

Reply all
Reply to author
Forward
0 new messages