The following worksheet show some computations made with the package badic in the Sagemath software (see this link for more details about Sagemath). You have Sagemath, you can install this package badic with the command
$ sage -pip install badic [--user]
Here is a link for more details about the installation.
A pdf version of the worksheet is available here : RauzyFractalRandomSubstitution.pdf.
The Notebook file is here : RauzyFractalRandomSubstitution.ipynb.