Descriptive Program

From Esolang
Jump to navigation Jump to search

Descriptive Program is a program which uses artificial intelligence. Specifically, it uses a supervised learning algorithm to correlate certain kinds of input to certain kinds of output.


The code needs to be split into three parts: the training code, the expected output, and the actual code. All three of these should be collections of characters of some sort.

The training code and expected output can consist of multiple things, but they have to follow the following rules:

  1. The training code has to be in one data structure while the output is in another.
  2. The training code and the corresponding expected output have to be able to be correlated somehow, such as being in the same place in their respective data structures.

The training code and expected output train the algorithm while the resultant code is the one you actually want to run.