首页> 外文会议>Congreso Argentino de Ciencias de la Informatica y Desarrollos de Investigacion >Syntactic analysis on programming languages: A simple approach employing automata theory
【24h】

Syntactic analysis on programming languages: A simple approach employing automata theory

机译:编程语言的语法分析:采用自动机理论的简单方法

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

摘要

Language analysis has always been a popular subject in computer science; henceforth a vast knowledge base for compiler construction is available nowadays and consequently one can devise several models that provide efficient methods to determine the acceptance of a programming language, either at a lexical, syntactic or semantic level. By evaluating and analyzing existing techniques, we have noticed that certain algorithm complexity or grammar adaptation was required to accomplish an efficient solution. Therefore here lies the motivation for the current research. We are going to present an implementation based on a lexical and syntactic analysis model seeking to fulfill the following requisites: simplicity and expressiveness, algorithm efficiency and reduced grammar adaptation. Lexical resolution was mainly supported by regular language acceptance, whereas the subsequent syntactic analysis was performed with a pushdown automaton allowing an efficient method to recognize a context free language, avoiding additional elements, such as action-goto tables, often used in bottom-up parsers. The proposed model highlights the underlying relationship between language interpretation and automata theory. Then you may encounter an interesting approach which will provide a way to go through the most basic concepts of formal language theory and how these are wielded for solving syntactic analysis problems.
机译:语言分析一直是计算机科学中的热门学科。因此,如今可以使用大量的编译器知识库,因此可以设计几种模型,这些模型可以提供有效的方法来从词法,句法或语义层面确定对编程语言的接受程度。通过评估和分析现有技术,我们注意到为实现有效的解决方案,需要某些算法复杂性或语法适应性。因此,这就是当前研究的动机。我们将提出一种基于词法和句法分析模型的实现,力求满足以下条件:简单性和表达性,算法效率和减少的语法适应性。词汇解析主要由常规语言接受来支持,而随后的句法分析是通过下推式自动机执行的,该下推式自动机允许一种有效的方法来识别上下文无关的语言,从而避免了自下而上的解析器中经常使用的其他元素,例如动作定位表。该模型突出了语言解释和自动机理论之间的潜在关系。然后,您可能会遇到一种有趣的方法,该方法将为您介绍形式语言理论的最基本概念以及如何运用这些概念来解决语法分析问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号