Other Applications of Indentation-Based Parsers
Learn and practice different applications of indentation-based parsers with the Gherkin parser class.
We'll cover the following
We have been incredibly focused on Gherkin throughout this chapter because it is a relatively simple language for constructing a parser. This process was made even more accessible through our IndentationManager
class. In this short lesson, we’ll take a brief moment to quickly explore other languages where such techniques might be beneficial.
Python would be an interesting language to briefly explore. Let’s take a quick look at the Python code in the code snippet below:
Get hands-on with 1200+ tech skills courses.