LiSymP stands for List and Symbol programming. Its name refers to the two data types, that the language consists of: Lists and Symbols. The language is explained in detail in tutorials you can choose from the Problem dropdown menu below. The first one explains how to use the program editor while the others go into detail regarding the language itself. After you learned the language and how to use the program editor, you can either use it to write your own programs or take a shot at the other problems you can find in the Problem dropdown menu. They are divided into categories which contain problems of increasing difficulty.
It follows the list of problem instances used to validate your solution. Each row in the following table consists of the expression that is evaluated in the context of your definitions, and the expected result. Click on the Validate button below to run the validation. If compiling your definitions fails, an error message appears next to the button. Otherwise, a column named Actual appears in the table and shows the result of each instance with either a green background if it matches the expected value, or red otherwise. On failure, click on the corresponding expression to copy it to the editor so you can analyze what went wrong.
If all instances are green, you successfully solved the problem and your definitions are saved for this problem in the local storage of your browser. All solved problems are highlighted in the Problem dropdown menu. If you select an already solved problem from there, you are asked whether to restore the solution.
The following definitions are used for validation and included when the expressions below are evaluated. Note that you cannot define symbols of equal name yourself.
# | Expression | Expected | Actual |
---|