咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >PWCT2: A Self-Hosting Visual P... 收藏

PWCT2: A Self-Hosting Visual Programming Language Based on Ring with Interactive Textual-to-Visual Code Conversion

作     者:Fayed, Mahmoud Samir Alohali, Yousef A. 

作者机构:King Saud Univ Coll Comp & Informat Sci Comp Sci Dept Riyadh 11451 Saudi Arabia 

出 版 物:《APPLIED SCIENCES-BASEL》 (Appl. Sci.)

年 卷 期:2025年第15卷第3期

页      面:1521-1521页

核心收录:

主  题:self-hosting visual programming ring language source-to-source translation 

摘      要:Visual programming languages (VPLs) play a significant role in simplifying the process of learning to program and reducing development time. Most VPLs are developed for use in education or specific domains. Recently, some projects have aimed to provide general-purpose VPLs. Among these projects is the Programming Without Coding Technology (PWCT) project, which has been used for several years to develop and maintain the compiler and virtual machine for the Ring programming language. However, PWCT faces several issues related to code generation performance and the operating systems it supports. Additionally, its visual editor lacks many features, such as rich comments, auto-run, and the ability to import textual code, which are highly important in the era of using large language models for generating textual code. In this research, we present the PWCT2 visual programming language, which is distributed on the Steam platform. On Steam, 1772 users have launched the software, and the total usage time recorded exceeds 17,000 h. This generation provides approximately 36 times faster code generation and 20 times lower storage requirements for visual source files. It also allows for the conversion of Ring code into visual code, enabling the creation of a self-hosting VPL. It consists of approximately 92,000 lines of Ring code and comes with 394 visual components. Moreover, using Ring in this project demonstrates the feasibility of utilizing the language for projects of this scale. Ring compiles PWCT2 in less than one second, and the generated bytecode consists of approximately 724,000 instructions.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分