【24h】

LR Parsing for Boolean Grammars

机译:布尔语法的LR解析

获取原文
获取原文并翻译 | 示例

摘要

The generalized LR parsing algorithm for context-free grammars, invented by Tomita in 1986, is extended for the case of Boolean grammars, which are a recently introduced generalization of context-free grammars with logical connectives added to the formalism of rules. In addition to the standard LR operations, Shift and Reduce, the new algorithm uses a third operation called Invalidate, which reverses a previously made reduction; this makes the algorithm considerably different from its prototype, though it can still be made to work in time O(n~3).
机译:由Tomita于1986年发明的针对上下文无关文法的通用LR解析算法已扩展到布尔语法的情况,布尔语法是最近引入的对上下文无关文法的泛化,其逻辑连接词已添加到规则的形式主义中。除了标准的LR操作Shift和Reduce之外,新算法还使用了称为Invalidate的第三种操作,该操作可以逆转先前进行的归约。尽管仍然可以使算法在时间O(n〜3)内起作用,但这使得该算法与它的原型有很大的不同。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号