Error recovery in parsing expression grammars through labeled failures and its implementation based on a parsing machine.

Journal of Visual Languages & Computing(2018)

引用 4|浏览7
暂无评分
摘要
•We present an error recovery approach for Parsing Expression Grammars based on labeled failures and recovery expressions.•We show a formalization of our error recovery approach and how to implement it by using a parsing machine.•We evaluate our approach by implementing an error recovering parser for Lua.•We compare the recovery done by our parser with the recovery done by a parser generated by ANTLR.•We discuss how labeled failures with recovery expressions can encode other error recovering strategies.
更多
查看译文
关键词
Parsing,Error recovery,Parsing expression grammars,Parsing machine,Natural semantics
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要