[Paper Review] MyProLang - My Programming Language: A Template-Driven Automatic Natural Programming Language
MyProLang proposes a template-driven, natural language programming environment that generates executable code from user-friendly GUI templates, reducing syntax errors and learning barriers. By combining natural language generation, source-to-source compilation, and an ergonomic IDE, it enables non-experts and students to write correct programs automatically in a human-readable, imperative language without manual coding or syntax mastery.
Modern computer programming languages are governed by complex syntactic rules. They are unlike natural languages; they require extensive manual work and a significant amount of learning and practicing for an individual to become skilled at and to write correct programs. Computer programming is a difficult, complicated, unfamiliar, non-automated, and a challenging discipline for everyone; especially, for students, new programmers and end-users. This paper proposes a new programming language and an environment for writing computer applications based on source-code generation. It is mainly a template-driven automatic natural imperative programming language called MyProLang. It harnesses GUI templates to generate proprietary natural language source-code, instead of having computer programmers write the code manually. MyProLang is a blend of five elements. A proprietary natural programming language with unsophisticated grammatical rules and expressive syntax; automation templates that automate the generation of instructions and thereby minimizing the learning and training time; an NLG engine to generate natural instructions; a source-to-source compiler that analyzes, parses, and build executables; and an ergonomic IDE that houses diverse functions whose role is to simplify the software development process. MyProLang is expected to make programming open to everyone including students, programmers and end-users. In that sense, anyone can start programming systematically, in an automated manner and in natural language; without wasting time in learning how to formulate instructions and arrange expressions, without putting up with unfamiliar structures and symbols, and without being annoyed by syntax errors. In the long run, this increases the productivity, quality and time-to-market in software development.
Motivation & Objective
- To address the steep learning curve and high error rate in traditional programming languages.
- To reduce the time and effort required for writing correct programs by automating code generation.
- To make programming accessible to non-programmers, students, and end-users through natural language constructs.
- To integrate natural language generation (NLG) with source-to-source compilation for executable output.
- To streamline software development with an ergonomic IDE that simplifies the entire programming workflow.
Proposed method
- The system uses a proprietary natural programming language with simplified grammar and expressive syntax.
- It employs GUI-based templates to guide users in specifying program logic in natural language.
- An NLG engine transforms user inputs into human-readable, syntactically correct source code.
- A source-to-source compiler parses and compiles the generated natural code into executable binaries.
- The environment integrates an ergonomic IDE that supports code generation, editing, and execution in one interface.
- The approach decouples programming logic from low-level syntax, minimizing manual coding and syntax errors.
Experimental results
Research questions
- RQ1Can a template-driven system generate correct, executable code from natural language inputs without manual coding?
- RQ2To what extent does this approach reduce the learning curve for novice programmers and end-users?
- RQ3How effective is the integration of NLG and source-to-source compilation in maintaining program correctness and readability?
- RQ4Can such a system improve software development productivity and time-to-market?
- RQ5How does the system handle syntactic errors and maintain code quality in a natural language context?
Key findings
- The system successfully generates executable code from natural language inputs using GUI templates, eliminating manual syntax entry.
- The use of a proprietary natural language with simplified grammar reduces cognitive load and learning time for beginners.
- The integration of NLG and source-to-source compilation enables automatic translation of natural language specifications into working programs.
- The ergonomic IDE supports a streamlined development workflow, enhancing usability for non-experts.
- The approach minimizes syntax errors by abstracting away complex syntactic rules through template-driven generation.
- The system demonstrates potential to increase programming productivity and accessibility across diverse user groups.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.