arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.05871cs.PL
收藏

Phoenix --阿拉伯面向对象的程序设计语言

Phoenix -- The Arabic Object-Oriented Programming Language

Youssef Bassil

摘要:

计算机程序是由计算机中央处理单元从计算机存储器内执行的一组电子指令。它的目的是控制计算机的功能,使其能够执行各种任务。基本上,计算机程序是由人类使用程序设计语言编写的。程序设计语言是一组语法规则和词汇,用于指导计算机程序的正确编写。在实践中,大多数现有的程序设计语言都是在讲英语的国家编写的,因此它们都使用英语来表达它们的语法和词汇。然而,许多其他程序设计语言是用非英语语言编写的,例如,中国的BASIC,中国的Python,俄罗斯的Rapira和阿拉伯的Loughaty。本文讨论了一种新的程序设计语言Phoenix的设计与实现。它是一种通用的、高级的、命令式的、面向对象的、编译的阿拉伯语程序设计语言,使用阿拉伯语作为语法和词汇。Phoenix的核心是一个编译器系统,它由六个组件组成,它们是预处理器、扫描器、解析器、语义分析器、代码生成器和链接器。所进行的实验说明了Phoenix语言的几个强大功能,包括函数、while循环和算术运算。作为未来的工作,更先进的功能,包括继承,多态性,文件处理,图形用户界面,和网络的发展。

英文摘要:

A computer program is a set of electronic instructions executed from within the computer memory by the computer central processing unit. Its purpose is to control the functionalities of the computer allowing it to perform various tasks. Basically, a computer program is written by humans using a programming language. A programming language is the set of grammatical rules and vocabulary that governs the correct writing of a computer program. In practice, the majority of the existing programming languages are written in English-speaking countries and thus they all use the English language to express their syntax and vocabulary. However, many other programming languages were written in non-English languages, for instance, the Chinese BASIC, the Chinese Python, the Russian Rapira, and the Arabic Loughaty. This paper discusses the design and implementation of a new programming language, called Phoenix. It is a General-Purpose, High-Level, Imperative, Object-Oriented, and Compiled Arabic programming language that uses the Arabic language as syntax and vocabulary. The core of Phoenix is a compiler system made up of six components, they are the Preprocessor, the scanner, the parser, the semantic analyzer, the code generator, and the linker. The experiments conducted have illustrated the several powerful features of the Phoenix language including functions, while-loop, and arithmetic operations. As future work, more advanced features are to be developed including inheritance, polymorphism, file processing, graphical user interface, and networking.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑