One variant somebody actually implemented is called Monte Carlo AIXI; granted that it won’t have been optimized for minimum code size, but a Google search might find you a copy of the code you could download and look at its size for an upper bound.
One variant somebody actually implemented is called Monte Carlo AIXI; granted that it won’t have been optimized for minimum code size, but a Google search might find you a copy of the code you could download and look at its size for an upper bound.