Occigen Framework自动化和动画
Visualização e animação de autómatos em Ocsigen Framework
摘要:
形式语言和自动机理论是计算机科学的重要基础课题。他们严谨和正式的特点使他们的学习要求很高。概念同化的一个重要支持是交互式可视化这些计算模型的具体例子的可能性,促进对它们的理解。现有的工具既不完整,也不完全支持交互方面。该项目旨在开发葡萄牙语的交互式网络工具,以辅助和直观的方式帮助理解相关概念和算法,通过用户预加载或构建的典型示例(我们平台的原始方面)逐步查看它们的工作。因此,该工具应该能够创建和编辑自动机,以及执行相关的经典算法,如单词接受,模型转换等,它还旨在可视化不仅是自动机的建设过程,而且应用给定算法的所有步骤。该工具使用Occigen框架,因为它提供了用OCaml编写的完整和交互式Web工具的开发,OCaml是一种功能强大的类型检查系统,因此非常适合没有错误的网页。Occigen之所以被选中,还因为它允许使用单一的客户端-服务器系统创建动态页面。本文介绍了该项目开发的第一阶段。现在已经可以创建自动机,检查其状态的性质,并逐步(使用撤消)验证单词的接受。
英文摘要:
Formal Languages and Automata Theory are important foundational topics in Computer Science. Their rigorous and formal characteristics make their learning them demanding. An important support for the assimilation of concepts is the possibility of interactively visualizing concrete examples of these computational models, facilitating understanding them. The tools available are neither complete nor fully support the interactive aspect. This project aims at the development of an interactive web tool in Portuguese to help in an assisted and intuitive way to understand the concepts and algorithms in question, seeing them work step-by-step, through typical examples preloaded or built by the user (an original aspect of our platform). The tool should therefore enable the creation and edition of an automata, as well as execute the relevant classical algorithms such as word acceptance, model conversions, etc. It is also intended to visualize not only the process of construction of the automaton, but also all the steps of applying the given algorithm. This tool uses the Ocsigen Framework because it provides the development of complete and interactive web tools written in OCaml, a functional language with a strong type checking system and therefore perfect for a web page without errors. Ocsigen was also chosen because it allows the creation of dynamic pages with a singular client-server system. This article presents the first phase of the development of the project. It is already possible to create automata, check the nature of its states and verify step-by-step (with undo) the acceptance of a word.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。