If you are trying to compile a regular function, you can use the decorator interface instead of the explicit Compiler
interface to simplify your code:
This decorator is a way to add the compile
method to the function object without changing its name elsewhere.