In computer programming, a sixth-generation programming language (6GPL) is a very high-level programming language with extreme abstraction from the hardware. It usually consists of a set of human-readable instructions that must be analyzed by a command interpreter. Such languages may be domain-specific or general-purpose and often apply natural language processing in order to function.
Understanding the languageEdit
In 6GPLs, the operating system uses a natural language processor to analyze a command and determine its meaning. After determination of meaning, the natural language processor invokes an interlanguage decompiler to rewrite the command in a common high-level language. Once the ILD decompiles the command, a low decompiler rewrites the command into assembly language or machine code. Then, the central processing unit executes the command.
The following program written in X++ asks a person to enter their username and password.
WRITE username and REQUEST user to FILL IN username. WRITE password and REQUEST user to FILL IN password. IF username and password are FILLED IN, LOG IN to system. User SHALL FILL IN username as text; THEN, press ENTER to GO TO password; then, FILL IN password.
WRITE tells the system to write text on the screen. WRITE username outputs: username REQUEST user to FILL IN username tells system to ask a person to type their username.