interpreter pattern silvia broomewhat do you do when you can' sleeptobin kelleri stay awake --the interpreter sometimes it makes sense to not use python to describe problem or the solution to such problem when we need language geared toward specific problem domainwe turn to something called domain-specific language omain-specific languages some languageslike pythonwere created to tackle any type of problem python belongs to whole family of languagescalled general-purpose languagesdesigned to be used to solve any problem on rare occasionsit makes more sense to create language that does only one thingbut that does it extremely well these languageswhich belongto family called domain-specific languages (dsls)are helpful for people who are experts in some specific domain but are not programmers you have probably already encountered dsls in your programming career if you ever tinkered on websiteyou know csswhich is dsl for defining how html should be rendered in browser style css body color# ff (cwessel badenhorst badenhorstpractical python design patterns