首页> 外文会议>International Conference on Software Engineering Advances >A New Algorithm to Parse a Mathematical Expression and its Application to Create a Customizable Programming Language
【24h】

A New Algorithm to Parse a Mathematical Expression and its Application to Create a Customizable Programming Language

机译:一种新算法,用于解析数学表达式及其应用程序,以创建可自定义的编程语言

获取原文

摘要

This paper presents an algorithm to parse a string containing a mathematical expression. This algorithm represents an alternative to other parsing algorithms, e.g., the Dijkstra "shunting-yard" algorithm. The algorithm presented here, has the same time complexity, but in our point of view it is easier to implement and to extend. As an example of extending this algorithm, we also present how it can be used to implement a fully customizable scripting programming language. The reference implementation language will be C++.
机译:本文介绍了解析包含数学表达式的字符串的算法。该算法表示其他解析算法,例如Dijkstra“Shunting-yard”算法的替代方案。这里呈现的算法具有同时复杂性,但在我们的角度下,更容易实现和扩展。作为扩展该算法的示例,我们还展示了如何用于实现完全可自定义的脚本编程语言。参考实施语言将是C ++。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号