计算机科学 > 计算与语言
[提交于 2012年2月29日]
标题:A Lexical Analysis Tool with Ambiguity Support
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Lexical ambiguities naturally arise in languages. We present Lamb, a lexical analyzer that produces a lexical analysis graph describing all the possible sequences of tokens that can be found within the input string. Parsers can process such lexical analysis graphs and discard any sequence of tokens that does not produce a valid syntactic sentence, therefore performing, together with Lamb, a context-sensitive lexical analysis in lexically-ambiguous language specifications.
提交历史
来自:Luis Quesada[v1] 2012年2月29日 星期三 15:59:54 UTC