简体   繁体   中英

LALR Grammar Parsing

suppose i have a grammar( LALR parsing)

 S->Ba|bBc

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

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..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM