Natural

Programming

Pegasus

Summary

Pegasus is the first profound and usable natural language programming system.
It aims at making programming both semantically and syntactically the way humans naturally think.


learn more...

Robot control

Java generation

VRML generation

Code input

News

[2018-12]
Final project reorganization ongoing.

[2018-01]
Naturalistic events addressed.

[2017-07]
Extension/adaption logico-ontological core test suite.

[2017-05]
Naturalistic types (and direct references).

[2017-02]
Coordinations completed.

Detailed Summary

Pegasus is the first profound and usable natural programming language system. It aims at making programming both semantically and syntactically the way humans naturally think.

Nowadays, programming systems (programming languages and development environments) have the following disadvantages: 1. The actual ideas of a programmer have to be translated into a specific programming language, which might result in semantic losses. 2. The learning curve of programming languages and development environments is quite steep and requires enormous amounts of time, which most programmers do not have. 3. The re-use of code usually is inconvenient, because there is no uniformed and certified data pool for such code.

Due to programming in a natural language, especially when using context dependency, references1 and compressions2, developers can express their ideas in a much more direct way. This simplifies the learning of such a programming language.

The code can be shared by using an integrated online data pool. Thanks to the capability of an automated translation tool that uses different languages, which are standardized in terms of vocabulary and syntax, the effort for additional commenting will be greatly reduced.

The programming can be done in plain natural language. English, German and other languages are accepted, an automated translation is possible.

Natural language programming itself constitutes a new programming paradigm.


Samples, demos and screenshots


More about Pegasus and the theory of natural language programming


1 References are based on pronouns such as “he”, “it”, “that” or “the last”, or direct references like “the house” or “the character string” and names like “the set A”, “Berlin” or “George”.


2 Syntax compression is based on expressions like “read, process and write the data.”, “take all non-processed integer numbers in the list, which can be divided by 3.” or “process the list from right to left and then from left to right”, semantic compression can be applied to expressions like “process the list from right to left and vice versa.”.

Software
Technology
Group
TU-Darmstadt | FB Informatikhttp://www.st.informatik.tu-darmstadt.de/