控制网络程序设计中的语言互操作
Language Interoperability in Control Network Programming
摘要:
控制网络编程(CNP)是一种编程范式,它被描述为“原语+控制网络=控制网络程序”。它是一种图形编程。控制网络是一个递归的图形系统;它可以是一个纯粹的描述规范的问题正在解决。显然,“绘制”控制网络不包括任何编程。基本动作是基本的、容易理解的、明确规定的动作。最终,他们必须被编程。从历史上看,它们通常用Free Pascal编码。原语的实际代码从来没有被认为是重要的。“算法”的本质是由它的控制网络来表示的。CNP一直是软件应用程序开发的一种简单快速的方法,实际上只涉及很少的实际编程。语言互操作性(在同一个软件项目中使用不同的语言)是软件开发中的一个突出趋势。这在CNP中比在其他编程范例中更重要、更自然。在这里,互操作性实际上意味着可以使用以各种程序设计语言编写的原语。当前的报告描述了我们使用多语言原语集创建应用程序的第一步。大多数流行和有趣的程序设计语言都已经解决了:Python,Java和C。我们将展示如何使用这些“非本机”语言编写的原语创建应用程序。我们考虑同时使用所有这四种程序设计语言中的原语(多语言CNP)的示例。我们还讨论了无编程的CNP编程(无语言CNP)。
英文摘要:
Control Network Programming (CNP) is a programming paradigm which is being described with the maxim "Primitives + Control Network = Control Network program". It is a type of graphic programming. The Control Network is a recursive system of graphs; it can be a purely descriptive specification of the problem being solved. Clearly, "drawing" the control network does not include any programming. The Primitives are elementary, easily understandable and clearly specified actions. Ultimately, they have to be programmed. Historically, they are usually coded in Free Pascal. The actual code of the primitives has never been considered important. The essence of an "algorithm" is represented by its control network. CNP was always meant to be an easy and fast approach for software application development that actually involves very little real programming. Language interoperability (using different languages in the same software project) is a distinguished current trend in software development. It is even more important and natural in the case of CNP than for other programming paradigms. Here, interoperability practically means the possibility to use primitives written in various programming languages. The current report describes our first steps in creating applications using a multi-language set of primitives. Most popular and interesting programming languages have been addressed: Python, Java, and C. We show how to create applications with primitives written in those "non-native" languages. We consider examples where the primitives in all those four programming languages are simultaneously used (multiple-language CNP). We also discuss CNP programming without programming (language-free CNP).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。