This book contains the references of the subset Kuifje compatible with Python. Kuifje is currently not fully supported, due to its specificities. The subset of Python makes it mandatory to add the semicolon ";" at the end of each command. However, the structures such as conditionals, while, and functions are designed to be compatible.
Functions are not fully supported, i.e. they should have just one single unique return point in the end. Our research pretends to increment this subset, by defining the expected behavior for functions with multiple return points.
The compiler that implements a prototype of this project is available at: Kuifje Compiler
Each of the subtitles contains a group of operations which Kuifje supports. They can be used to manipulate Kuifje variables, providing facilities to model and operate with distributions and sets.
- The @ operator for assignment and sampling
- Uniform Distribution
- Truncated Geometric Distribution
- Assigning via Internal Choice