Unexpected Lark features you probably didn’t know about [Python]

If you’ve ever used Lark, you probably already know that it’s rather featureful compared to other parsing libraries. Even when it was first released, five years ago, it already had two parsing algorithms, several lexers, automatic AST construction, automa… Read more

Similar

Unravelling Attribute Access in Python

I wonder how many people realize that Python has a lot of syntactic sugar? I'm not claiming it's like a Lisp-based language where the syntax is as bare bones as possible (although the Lisp comparison is not entirely unfounded), but much of Python's syntax... (more…)

Read more »

Run time type checking in Python

Welcome to the third edition of Python’s byte. Before we jump into this week’s short tip, I wanted to thank you all for the immensely positive response and support that you showed for this little effort. I hope to live up to the expectation. It is a diffi... (more…)

Read more »