1
votes

suppose i have a grammar(LALR parsing)

 S->Ba|bBc

Can a parsing table be constructed(with action and goto)practically using some parser

1
Please ask this question on cstheory.stackexchange.com - Saju
@Shivi Your question has an answer that can have different opinions and hence doesn't belong here... - Bhushan Firake
@bhushan firake what opinions please can you clarify - Shivi
@Shivi LALR(1) or different? You are saying LALR parsing and in last line again you are again saying that "using some parser" - Bhushan Firake
@Shivi: More info at this link youtube.com/watch?v=wwc3pUUahJk - Bhushan Firake

1 Answers

0
votes

There are many parsers out there for what you are asking for.The one that has feature to parse them online is at this link. this parser has many options available. This is the practical implementation where you need to pass the grammar and it wil generate the parsing tables for you. Not sure about the action and goto.

Yacc is also the one you can have look at. Here is the link. Hope this helped you..