首页 文章
  • 4 votes
     answers
     views

    LALR(1)函数参数的空列表

    我有一个简单的LALR(1)语法,但我遇到了一个问题 . start ::= spec. spec ::= MOD STRING top_stmt. spec ::= top_stmt. top_stmt ::= stmt. top_stmt ::= conditional. stmt ::= expr. stmt ::= assignment. conditional ::= IF stmt_l...

热门问题