https://cs4beginners.com/2024/09/03/python_simple_gammar/