Writing a Lexer
A technical guide on writing a custom lexer by hand, covering structure, state management, and test-driven development.
A technical guide on writing a custom lexer by hand, covering structure, state management, and test-driven development.
Introduces django-kickass-templatetags, a library offering an object-based syntax for defining Django template tags to reduce boilerplate code.
Part 3 of a PLY tutorial covering arithmetic operations, operator precedence, and adding variables to a custom language.
A tutorial on building a grammar and interpreter using the PLY parsing library for Python, focusing on creating a calculator.
A tutorial on using the PLY (Python Lex-Yacc) library to tokenize source code, covering token definition and lexer creation.